PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : J2SDK? J2ME Wireless Toolkit unter Ubuntu 7.10



RoCMe
31-03-2008, 21:16
Hi!
Ich weiß nicht genau, ob ich hier im richtigen Forum bin, aber was solls...

Ich versuche mich seit über einer Stunde in der Installation von o.g. Toolkit...

Das Problem:


Do you agree to the above license terms? [yes or no] yes


No suitable Java interpreter was detected

0) Specify a path to a Java interpreter directory.
1) Cancel this installation.
Select a choice [0-1]: 0

This application requires Java 2 SDK, Standard Edition (1.4 or later). Enter a path to a Java 2 SDK (For example: /user/jdk1.4/bin). You can type "exit" to cancel installation.
Enter a path to the Java 2 SDK:

Hier hab ich nun schon so ziemlich alles eingegeben, was mir an Pfaden zu java eingefallen ist...

Was ist denn ein Java 2 SDK? Ich habe das sun-java6-sun mit aptitude installiert, dessen bin Verzeichnis akzeptiert der Installer nicht:


Enter a path to the Java 2 SDK: /usr/lib/jvm/java-6-sun/bin
/usr/lib/jvm/java-6-sun/bin/java
Testing /usr/lib/jvm/java-6-sun/bin/java...
Exception in thread "main" java.lang.ClassFormatError: Extra bytes at the end of class file com/sun/kvem/environment/JavaVersionTester
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
at java.net.URLClassLoader.access$000(URLClassLoader. java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
/usr/lib/jvm/java-6-sun/bin is not a suitable Java interpreter
Enter a path to a Java 2 SDK (For example: /user/jdk1.4/bin). You can type "exit" to cancel installation.
Enter a path to the Java 2 SDK:

Verwende ich ein falsches SDK? Oder was mache ich falsch? Hoffe auf Hilfe...

RoCMe

fs111
03-04-2008, 19:42
versuch mal das "bin" weg zu lassen.

fs111

BlueJay
05-04-2008, 15:59
So einen Fehler bekam ich, als ich unter gentoo das WTK 2.5.2 auf Java 1.6 aufpflanzen wollte. Mit dem WTK 2.2 hatte ich dann Erfolg.

Offensichtlich passen die Versionen nicht zusammen.

so long,
BlueJay