Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 22/01/2008, à 20:17

®om

Installation J2ME Wireless Toolkit

Salut,

Pour un projet de développement sur téléphone portable, je cherche à  installer tous les outils nécessaires (les apis, plugin eclipse et autres outils).

Mais la première étape consiste à  installer j2me wireless toolkit.

J'ai donc téléchargé : j2me_wireless_toolkit-2_2-linux-i386.bin

Quand je l'exécute, il me demande :

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: [b]/usr/lib/jvm/java-6-sun[/b]
/usr/lib/jvm/java-6-sun/jre
Testing /usr/lib/jvm/java-6-sun/jre...
j2me_wireless_toolkit-2_2-linux-i386.bin: 310: /usr/lib/jvm/java-6-sun/jre: Permission denied
/usr/lib/jvm/java-6-sun 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:

J'ai essayé en rajoutant bin/, en rajoutant jre/... Toujours le même problème. J'ai bien les droits de lecture et d'exécution sur ce dossier.

Si je lance le .bin en root (enfin en su), c'est pareil...

Et si je tape /usr/lib/jvm/java-6-sun/bin :

Enter a path to the Java 2 SDK: [b]/usr/lib/jvm/java-6-sun/bin[/b]
/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(SecureClassLoader.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.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.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.

Une idée?

J'ai aussi posté ici : http://www.developpez.net/forums/showthread.php?t=478205

Hors ligne