Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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'm trying to install the Java 2 SDK 1.4.2 rpm file. There was another post with someone having a similar issue but I've managed to get a little farther.
I downloaded the bin file from Sun ( j2sdk-1_4_2-nb-3_5_1-bin-linux.bin) and ran it as follows "./ j2sdk-1_4_2-nb-3_5_1-bin-linux.bin -console" The installShield runs all the way through and then says to continue, choose next. I type 1<enter>, then the installer stops and goes to the prompt. The rpm file is nowhere to be found...
And you won't find an RPM file since you
didn't download one ... sun uses two different
methods here ... one is a RH rpm, one is a
bin (a self-extracting executable) ... after
having run it you're likely to find a java
directory in the current working directory
where you ran the bin.
Taking your suggestion, I checked that directory where I ran the bin file and there is no new java directory. I also did a "locate java" and it didn't find anything that looked like a new java directory.
K, I just downloaded & tried to install
the netbeans thing. Seems like it's console
switch/version doesn't work ... it installs
fine with the graphical mode, though.
This is also the first .bin from sun I saw that
didn't use a shell wrapper but was completely
in ELF binary format - that way one can't fix it :(
Question is: do you really "need" the
net beans? :)
So I'm getting a little closer (I think). I was able to get the sdk installed (I found another file on Sun's site). My problem occurs when I try to compile a java file. I type "javac filename.java" and it says "command not found." I am trying to run this from the directory where I ran the rpm file to install the sdk.
Doing a "locate javac" produces no results.
Trying to re-run the rpm file says it's already installed.
The new file I ran is j2sdk-1_4_2_03-linux-i586.rpm
im not sure i understand what youre saying but from what i gather youre trying to use the java compiler? if i misunderstood disregaurd this but if you are you have to make sure that the java portion for gcc is installed. use your package manager
No, you are right. I am trying to use the compiler... Sorry for this, but I'm a total rookie with linux. How do I access the package manager to install the java portion for gcc (I don't have a gui installed)?