Chciałbym pod Linuksem uruchomić środowisko do programowania w J2ME. Pracuję w Emacsie więc sprawa IDE jest rozwiązana, to z czym nie mogę się uporać to:
- instalacja emulatora telefonu komórkowego (wireless-toolkit) - podczas instalacji z pliku "j2me_wireless_toolkit-2_2-linux-i386.bin" pobranego ze strony http://java.sun.com/
Kod: Zaznacz cały
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: /usr/lib/jvm/java-gcj/bin
/usr/lib/jvm/java-gcj/bin/java
Testing /usr/lib/jvm/java-gcj/bin/java...
Exception in thread "main" java.lang.ClassFormatError: com.sun.kvem.environment.JavaVersionTester (unused data before end of file)
at java.lang.VMClassLoader.defineClass(libgcj.so.90)
at java.lang.ClassLoader.defineClass(libgcj.so.90)
at java.security.SecureClassLoader.defineClass(libgcj.so.90)
at java.net.URLClassLoader.findClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at gnu.java.lang.MainThread.run(libgcj.so.90)
/usr/lib/jvm/java-gcj/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: /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/bin/
/usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/bin//java
Testing /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/bin//java...
Exception in thread "main" java.lang.ClassFormatError: com.sun.kvem.environment.JavaVersionTester (unused data before end of file)
at java.lang.VMClassLoader.defineClass(libgcj.so.90)
at java.lang.ClassLoader.defineClass(libgcj.so.90)
at java.security.SecureClassLoader.defineClass(libgcj.so.90)
at java.net.URLClassLoader.findClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at gnu.java.lang.MainThread.run(libgcj.so.90)
/usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/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: /usr/lib/jvm/java-6-openjdk/bin/
/usr/lib/jvm/java-6-openjdk/bin//java
Testing /usr/lib/jvm/java-6-openjdk/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:637)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: com.sun.kvem.environment.JavaVersionTester. Program will exit.
/usr/lib/jvm/java-6-openjdk/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:
Pozdrawiam,
Lukasz