Dec 23, 2025 - 08:21 PMDeutsch | English
Hello unlogged user [ Register | Log in ]

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
stalin2000
Post subject: Nasa Worldwind Java Applikation starten  PostPosted: Oct 15, 2007 - 12:27 AM



Joined: Jan 04, 2007
Posts: 1604
Location: Hamburg
Hallo,
hm, ich wollte aber auch Worldwind neben googleearth haben und worldwind ist java. Da wollt ich der Anleitung folgen und gab folgenden Befehl ein:

Quote:

chmod +x run-demo.bash
./run-demo.bash worldwinddemo.BasicDemo


und das ergebnis:

Quote:

Java run-time version: 1.5.0_10
NASA World Wind Early Access 2 0.2.0
Exception in thread "main" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:6Cool
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:66)
at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:96)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:409)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:117)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:86)
at gov.nasa.worldwind.awt.WorldWindowGLCanvas.<init>(Unknown Source)
at worldwinddemo.BasicDemo$AppFrame.<init>(Unknown Source)
at worldwinddemo.BasicDemo.main(Unknown Source)
putinfaschismus@kanotix-putin:/media/hdb1/amule/worldwind.release$ ./run-demo.bash worldwinddemo.BasicDemo
Running worldwinddemo.BasicDemo
Java run-time version: 1.4.2
NASA World Wind Early Access 2 0.2.0
Exception in thread "main" java.lang.NoClassDefFoundError: gov.nasa.worldwind.layers.TiledImageLayer
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
at worldwinddemo.BasicDemo.<init>(Unknown Source)
at worldwinddemo.BasicDemo.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: java.util.concurrent.Callable not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./src/,file:./worldwind.jar,file:./jogl.jar,file:./gluegen-rt.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.70)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.VMClassLoader.defineClass(libgcj.so.70)
at java.lang.ClassLoader.defineClass(libgcj.so.70)
at java.security.SecureClassLoader.defineClass(libgcj.so.70)
at java.net.URLClassLoader.findClass(libgcj.so.70)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
...3 more



??? Gruß Christopher

_________________
Es ist dem Untertanen untersagt, den Maßstab seiner beschränkten Einsicht an die Handlungen der Obrigkeit anzulegen - Kurfürst Friedrich Wilhelm von Brandenburg
www.projektidee.org | www.gesundheitstabelle.de | www.neoliberalyse.de
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jonOfTre
Post subject: Nasa Worldwind Java Applikation starten  PostPosted: Oct 15, 2007 - 10:23 AM



Joined: Apr 14, 2005
Posts: 93

Hallo Christopher,

Java erlaubt die Verwendung von "nativen DLLs" oder besser "shared Libraries". Die Fehlermeldung besagt, dass Dir eine shared library namens gluegen-rt fehlt (Endung .so oder .lib). Da wirst Du forschen müssen,
- in welchem Paket die versteckt ist oder
- ob die mitausgeliefert ist und Du evtl. LD_PATH oder den Klassenpfad erweitern musst.

Jon

_________________
Speedfire/Bookworm mit Kernel 5.10.180 auf i7
 
 View user's profile Send private message  
Reply with quote Back to top
albatros
Post subject: Nasa Worldwind Java Applikation starten  PostPosted: Oct 15, 2007 - 04:33 PM



Joined: Dec 17, 2004
Posts: 290
Location: Detmold
Das deutet auf eine falsch Java-Version hin. Möglicherweise musst Du die alte Versionen deinstallieren oder das Skript anpassen, damit die aktuelle Version verwendet wird.

_________________
albatros
_________
 
 View user's profile Send private message  
Reply with quote Back to top
jonOfTre
Post subject: Nasa Worldwind Java Applikation starten  PostPosted: Oct 15, 2007 - 04:47 PM



Joined: Apr 14, 2005
Posts: 93

Hallo Albatros.

das dachte ich zuerst auch (deshalb habe ich die erste Antwort auch nochmal überarbeitet). Es wird nämlich Sun JRE 1.5.0.10 und anschließend gcj verwendet. Und bei beiden geht's schief.

Jon

_________________
Speedfire/Bookworm mit Kernel 5.10.180 auf i7
 
 View user's profile Send private message  
Reply with quote Back to top
albatros
Post subject:   PostPosted: Oct 15, 2007 - 05:07 PM



Joined: Dec 17, 2004
Posts: 290
Location: Detmold
Du hast recht. Man braucht anscheinend Jogl (Java Bindings für OpenGl ) :
https://jogl.dev.java.net.
Möglicherweise funktioniert es damit.
Ein deb gibt es anscheinend nicht.

_________________
albatros
_________
 
 View user's profile Send private message  
Reply with quote Back to top
stalin2000
Post subject:   PostPosted: Oct 18, 2007 - 07:24 PM



Joined: Jan 04, 2007
Posts: 1604
Location: Hamburg
Danke. Aber wie installiere ich jene Java Dateien?



bildschirm1.jpg
 Description:
 Filesize:  6.57 KB
 Viewed:  9848 Time(s)

bildschirm1.jpg



_________________
Es ist dem Untertanen untersagt, den Maßstab seiner beschränkten Einsicht an die Handlungen der Obrigkeit anzulegen - Kurfürst Friedrich Wilhelm von Brandenburg
www.projektidee.org | www.gesundheitstabelle.de | www.neoliberalyse.de
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jonOfTre
Post subject: Probieren hilft über Studieren ....  PostPosted: Oct 18, 2007 - 07:44 PM



Joined: Apr 14, 2005
Posts: 93

Hallo Stalin2000,

das weiß ich auch nicht genau, ich würde alle 6 Dateien in das JRE-Verzeichnis/lib/ext kopieren (bei mir ist das /usr/lib/jvm/java-1.5.0-sun/jre/lib/ext) oder in das Worldwind-Verzeichnis zu den anderen jars packen.

Jon

_________________
Speedfire/Bookworm mit Kernel 5.10.180 auf i7
 
 View user's profile Send private message  
Reply with quote Back to top
stalin2000
Post subject:   PostPosted: Oct 19, 2007 - 11:34 AM



Joined: Jan 04, 2007
Posts: 1604
Location: Hamburg
Na immerhin ist die Meldung schon mal kürzer geworden:

Quote:
putinfaschismus@kanotix-putin:/media/hdb1/amule/worldwind.release$ java -Xmx512m -jar worldwind.jar
Java run-time version: 1.4.2
NASA World Wind Early Access 2 0.2.0
Exception in thread "main" java.lang.NoClassDefFoundError: gov.nasa.worldwind.layers.TiledImageLayer
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
at worldwinddemo.BasicDemo.<init>(Unknown Source)
at worldwinddemo.BasicDemo.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: java.util.concurrent.Callable not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:worldwind.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.70)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.VMClassLoader.defineClass(libgcj.so.70)
at java.lang.ClassLoader.defineClass(libgcj.so.70)
at java.security.SecureClassLoader.defineClass(libgcj.so.70)
at java.net.URLClassLoader.findClass(libgcj.so.70)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
...3 more
putinfaschismus@kanotix-putin:/media/hdb1/amule/worldwind.release$

_________________
Es ist dem Untertanen untersagt, den Maßstab seiner beschränkten Einsicht an die Handlungen der Obrigkeit anzulegen - Kurfürst Friedrich Wilhelm von Brandenburg
www.projektidee.org | www.gesundheitstabelle.de | www.neoliberalyse.de
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jonOfTre
Post subject:   PostPosted: Oct 19, 2007 - 02:16 PM



Joined: Apr 14, 2005
Posts: 93

Hallo Stalin2000,

java.util.concurrent.Callable gibt's erst ab Java 1.5 und funktioniert deshalb nicht mit diesem gcj. Du musst wohl für Worldwind JRE 1.5.0_10 nehmen, wie im ersten Post.

Jon

_________________
Speedfire/Bookworm mit Kernel 5.10.180 auf i7
 
 View user's profile Send private message  
Reply with quote Back to top
stalin2000
Post subject:   PostPosted: Oct 19, 2007 - 06:53 PM



Joined: Jan 04, 2007
Posts: 1604
Location: Hamburg
Wie kann ich denn umstellen auf Java 1.5? Ich habe ja hier genau das selbe in die Konsole eingegeben, oder?

_________________
Es ist dem Untertanen untersagt, den Maßstab seiner beschränkten Einsicht an die Handlungen der Obrigkeit anzulegen - Kurfürst Friedrich Wilhelm von Brandenburg
www.projektidee.org | www.gesundheitstabelle.de | www.neoliberalyse.de
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
merlin
Post subject:   PostPosted: Oct 19, 2007 - 07:18 PM



Joined: Feb 28, 2005
Posts: 1112
Location: Camelot
altes java runterschmeissen
apt-get --purge remove java-common java-package
neues rauf
apt-get update && apt-get install sun-java6-plugin
sollte reichen

(auf wunsch eines sehr einflussreichen Herren geändert von sun-java5-plugin
in sun-java6-plugin)


Last edited by merlin on Oct 19, 2007 - 07:50 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
Kano
Post subject:   PostPosted: Oct 19, 2007 - 07:44 PM



Joined: Dec 17, 2003
Posts: 16815

Es gibt auch java 6 im repository.
 
 View user's profile Send private message  
Reply with quote Back to top
stalin2000
Post subject:   PostPosted: Oct 20, 2007 - 12:33 AM



Joined: Jan 04, 2007
Posts: 1604
Location: Hamburg
super, danke!

hat mit Java 5 Neuinstallation geklappt.

Java 6 war bei mir nicht im responsity trotz apt-get update...

Aber geht auch so.

Ich dachte, Worldwind hätte so tolle Luftbilder von Ballungsräumen...? Fehlanzeige: Viel schlechtere Auflösung als Googeearth und Luftbilder habe ich keine gesehen. Komisch.

_________________
Es ist dem Untertanen untersagt, den Maßstab seiner beschränkten Einsicht an die Handlungen der Obrigkeit anzulegen - Kurfürst Friedrich Wilhelm von Brandenburg
www.projektidee.org | www.gesundheitstabelle.de | www.neoliberalyse.de
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.