Avatar billede fredand Forsker
21. februar 2005 - 09:15 Der er 1 løsning

How to install J2ME WTK on to my Linux Mandrake 10.1?

Hello!

Perhaps this should be under some Linux forum instead?

I try to install J2ME WTK on to my Linux Mandrake 10.1 but it does not work for me. Below is the output after the License agreement.

So if you got any ideas please let me know.
Best regards
Fredrik
....
Do you agree to the above license terms? [yes or no] yes
j2me_wireless_toolkit-2_2-linux-i386.bin: line 287: cd: /home/fredrik/downloads/Java: No such file or directory

Testing /usr/java/jdk1.5.0_01/bin/java...

A suitable Java interpreter was detected

0) Use /usr/java/jdk1.5.0_01/bin/
1) Specify a path to a Java interpreter directory.
2) Cancel this installation.
Select a choice [0-2]: 1

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/java/jdk1.5.0_01/bin
/usr/java/jdk1.5.0_01/bin/java
Testing /usr/java/jdk1.5.0_01/bin/java...

Please enter a directory into which you would like to install the J2me Wireless Toolkit, 2.2.
[ default is /home/fredrik/downloads/Java Micro edition/WTK2.2 ]:/usr/java
j2me_wireless_toolkit-2_2-linux-i386.bin: line 224: cd: /home/fredrik/downloads/Java: No such file or directory
Installation directory is /usr/java.

Setup has enough information to start copying the program files.
Current Settings:
Destination Directory
  /usr/java/
JVM Folder
  /usr/java/jdk1.5.0_01/bin/

Please choose one of the following options:
0) Begin copying files if you are satisfied with the settings  .
1) Cancel the installation.
Select a choice [0-1]: 0
Failed to extract files. Installation will stop now.
Please try to install J2ME Wireless Toolkit again, or contact wtk-comments@sun.com for assistance.
[root@Stationary Java Micro edition]#
Avatar billede fredand Forsker
21. februar 2005 - 20:25 #1
Hello!

The error was the spaces in the source folder:
/home/fredrik/downloads/Java Micro edition/WTK2.2
like
default is /home/fredrik/downloads/Java_Micro_edition/WTK2.2

Best regards
Fredrik
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester