Ciao a tutti!
Ho provato. da sorgenti, a installare la java wtk 2.5.2, e il risultato è questo:
codice:
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.5 or later). Enter a path to a Java 2 SDK (For example: /user/jdk1.5/bin). You can type "exit" to cancel installation.
Enter a path to the Java 2 SDK: /usr/lib/jvm/default-java/bin
/usr/lib/jvm/default-java/bin/java
Testing /usr/lib/jvm/default-java/bin/java...
Please enter a directory into which you would like to install the Sun Java(TM) Wireless Toolkit, 2.5.2 for CLDC.
[ default is /home/alessandro/Scrivania/WTK2.5.2 ]:/usr/lib/WTK_2.5.2
Installation directory is /usr/lib/WTK_2.5.2.
Check for Product Updates
Sun Java(TM) Wireless Toolkit for CLDC includes Check for Product Update feature.
This feature will be active every 7 days and will inform you about the new Product Updates.
No personally identifiable data such as name, address, or e-mail address will be collected. You can disable this feature later in Preferences.
The information collected by Product Update includes the following:
* Operating system
* Country and Language setting on your computer
* Date and version of the Wireless Toolkit that you are about to install
* Unique random user ID generated by the Wireless Toolkit
Collected data will be used for future improving of the product.
Please read Sun's Privacy Policy at http://www.sun.com/privacy/index.html
Check for Product Updates? [yes or no] yes
Setup has enough information to start copying the program files.
Current Settings:
Destination Directory
/usr/lib/WTK_2.5.2/
JVM Folder
/usr/lib/jvm/default-java/bin/
Check for Program Updates
Enabled
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
Checksumming...
Extracting the installation files...
java.io.FileNotFoundException: index.html (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at sun.tools.jar.Main.copy(Main.java:801)
at sun.tools.jar.Main.extractFile(Main.java:951)
at sun.tools.jar.Main.extract(Main.java:870)
at sun.tools.jar.Main.run(Main.java:260)
at sun.tools.jar.Main.main(Main.java:1167)
Failed to extract files. Installation will stop now.
Please try to install Sun Java(TM) Wireless Toolkit again, or contact wtk-comments@sun.com for assistance.
qualcuno sa come risolvere quella sfilza di permessi negati al fondo??
ho provato tutti i chmod ma mi dice che la modifica dei permessi su determinati files non è permessa...
grazie in anticipo, ciao!
ps. nel dubbio ho scaricato e installato i pacchetti della jre e jdk ma niente, non funziona!!