Java Version überprüfen
Jan-Benedict Glaw
jbglaw at lug-owl.de
Thu Mar 23 19:25:39 CET 2006
On Thu, 2006-03-23 19:10:00 +0100, Clemens Hartmann <clemens-hartmann at t-online.de> wrote:
> 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?
"gij (GNU libgcj) version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)"
Das ist kein Sun Java 1.4.x oder 1.5.x, sondern GNU Java.
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20060323/3900584a/attachment.sig>
More information about the Linux
mailing list