Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just installed the jre-6u1-i586-1 on my slackware box. Now I am trying to install sun's java wireless toolkit so I can run some of my phone applications on my computer. I went to sun site (http://java.sun.com/products/sjwtool...oad-2_5_1.html) and downloaded the file "sun_java_wireless_toolkit-2_5_1-linux.bin". The thing is I don't know how to install an app from a bin file. I have always worked with tar files. I did some searching to figure out what I could do but with no luck. Maybe I just don't know what to look for if anyone could give me advice or help me with this it would be greatly appreciated.
Well I ran the bin file in the shell and everything seems to be working but when I get to the install it gives me this. Would that mean I do not have the JRE installed correctly?
Code:
Testing /usr/lib/java/bin/java...
A suitable Java interpreter was detected
0) Use /usr/lib/java/bin/
1) Specify a path to a Java interpreter directory.
2) Cancel this installation.
Select a choice [0-2]: 0
Please enter a directory into which you would like to install the Sun Java(TM) Wireless Toolkit, 2.5.1 for CLDC.
[ default is /data/linux/java/WTK2.5.1 ]:/usr/lib/java/bin/WTK2.5.1
Installation directory is /usr/lib/java/bin/WTK2.5.1.
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/java/bin/WTK2.5.1/
JVM Folder
/usr/lib/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...
./sun_java_wireless_toolkit-2_5_1-linux.bin: line 1599: /usr/lib/java/bin/jar: No such file or directory
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.
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,730
Rep:
Quote:
Originally Posted by lifeforce4
Well I ran the bin file in the shell and everything seems to be working but when I get to the install it gives me this. Would that mean I do not have the JRE installed correctly?
The Destination Directory you choosed (/usr/lib/java/bin/WTK2.5.1/) is odd. You are not supposed to install applications into directories belonging to other applications.
./sun_java_wireless_toolkit-2_5_1-linux.bin: line 1599: /usr/lib/java/bin/jar: No such file or directory
This is the main issue, why is there not a jar command here ?
What say "/usr/lib/java/bin/java -version" and "which jar" ?
Well I just was trying a few things on my own and got it to work. I took a different route then installing the jre I installed the JDK then the WTK. I downloaded jdk-6u2-nb-5_5_1-linux-ml.bin and installed that first, then used its lib files to install the sun_java_wireless_toolkit-2_5_1-linux.bin and it worked.
Code:
Testing /usr/lib/java/bin/java...
A suitable Java interpreter was detected
0) Use /usr/lib/java/bin/
1) Specify a path to a Java interpreter directory.
2) Cancel this installation.
Select a choice [0-2]: 1
#Then I defined the location were I installed the jdk.
/opt/lib/java/bin
Please enter a directory into which you would like to install the Sun Java(TM) Wireless Toolkit, 2.5.1 for CLDC.
[ default is /data/linux/java/WTK2.5.1 ]:/opt/WTK2.5.1
Installation directory is /usr/lib/java/bin/WTK2.5.1.
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
/opt/WTK2.5.1/
JVM Folder
/opt/lib/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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.