LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 08-30-2006, 12:57 AM   #1
neoresearcher
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
java (j2sdk) did not installs


I had first installed jre-1_5_0_07-linux-i586.bin on my Fedora. Then when I tried to installed sjsas_pe-8_2_2005Q2-nb-5_0-fcs-bin-linux.bin
The wizard asked me where the java sdk was or give it the path of the java. Because I had not yet installed jsdk then (Although I tried to give the path of jre).
Now I have installed jdk-1_5_0_08-linux-i586.bin but when I started to install sjsas_pe-8_2_2005Q2-nb-5_0-fcs-bin-linux.bin it show that it had started the wizard on the first line and then it display that varyfing JVM and with that it ends.
The same thing happens when I tried to install netbeans-5_0-linux.bin

So First how can I install them and second can you please tell me how can I uninstall jre from the system (is there some procedure that I had to follow or I can just simply delete the jre (jre1.5.0_07) folder.

Adeel Raza
 
Old 08-31-2006, 12:38 AM   #2
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Well, it sounds a little unclear but did Java install properly in the first place? Could you run java and javac from any directory?
The .bin file from the official Sun website for Linux is just an extractor, once it is done you will have to move the extraced files where you want, and set the JAVA_HOME variable to point to the bin folder. My .bashrc has the following lines to achieve this:
Code:
    export JAVA_HOME=/usr/share/java/jdk
    export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:$JAVA_HOME/bin
You might also want to set a JRE_HOME variable.
That should at least get Java set up properly, and maybe the other installers will work fine after that.
 
Old 09-03-2006, 12:46 AM   #3
neoresearcher
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
some where i am doing something wrong

Quote:
Originally Posted by Vgui
My .bashrc has the following lines to achieve this:
Code:
    export JAVA_HOME=/usr/share/java/jdk
    export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:$JAVA_HOME/bin
You might also want to set a JRE_HOME variable.
That should at least get Java set up properly, and maybe the other installers will work fine after that.
Yes I had changed the .bashrc. (although I had previously already added the $JAVA_HOME to my /root/.bash_profile file and by which I could execute the java and javac commands from any directory.)

After you said I changed the .bashrc file and added the $JAVA_HOME, $JRE_HOME to the it but nothing happened.

Some one else suggested me that to install
netbeans-5_0-linux.bin ( or sjsas_pe-8_2_2005Q2-nb-5_0-fcs-bin-linux.bin) I must have the java 1.4 instead of the java 1.5. May be that might work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
istall java - j2sdk ohade Mandriva 2 03-28-2006 07:19 AM
j2sdk won't install acidblue Slackware 6 02-02-2006 06:02 PM
Can't Delete J2SDK LinuxNoob17 Linux - Software 10 05-03-2004 09:24 PM
Installing JAVA from j2sdk-1_4_2_04-linux-i586_rpm.bin TVScoundrel Linux - Software 2 04-20-2004 05:03 AM
Wine \ Java \ Limewire Installs help please jefx Linux - Newbie 8 05-22-2003 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration