Java Version überprüfen

Clemens Hartmann clemens-hartmann at t-online.de
Thu Mar 23 19:10:00 CET 2006


Hallo,

ich möchte prüfen welche Java Version gerade auf meinem Fedora Core 3
installiert ist. Also hab ich ich in der Konsole eingegeben:

java -version

Dann kam folgendes:

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
Exception in thread "main" java.lang.NoClassDefFoundError: version
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
(/usr/lib/libgcj.so.5.0.0)
   at __libc_start_main (/lib/tls/libc-2.3.3.so)
[clemenshartmann at localhost ~]$ java -version
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java
master link required by jpackage.org conventions.  libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
gij (GNU libgcj) version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)



Welche Java version habe ich jetzt?

MfG: Clemens Hartmann




More information about the Linux mailing list