LinuxQuestions.org
Review your favorite Linux distribution.
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 09-21-2010, 09:43 PM   #1
phenyloxime
LQ Newbie
 
Registered: Sep 2009
Posts: 28

Rep: Reputation: 2
help properly installing java 1.6


I need to run a program,OpenChrom, that requires a JRE of 1.6 or greater. The program runs as a standalone executable, no installation is indicated.
I used
Code:
apt-get install sun-java6-bin
and the installation appeared to go smoothly. I now have a folder:
Code:
/usr/java/jre1.6.0_21
that looks like it has the whole JRE in it. However when I check my java version I get the following:
Code:
adam@debian:~/Desktop/OpenChrom$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.3.2
I found something on YoLinux that makes me think I need to tell my computer, or the shell, where to find Java. How do I do this? Needless to say openchrom does not run, it crashes after the splash screen. Thank you for your consideration.
 
Old 09-21-2010, 09:48 PM   #2
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,612

Rep: Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414
You need to run update-alternatives to tell your system which version of Java to activate.

See here for details:
https://help.ubuntu.com/community/Java
 
1 members found this post helpful.
Old 09-22-2010, 07:46 PM   #3
phenyloxime
LQ Newbie
 
Registered: Sep 2009
Posts: 28

Original Poster
Rep: Reputation: 2
Thank you very much, this was precisely the fix and I am now up and running!
 
  


Reply

Tags
sun-java6-jre


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
Java Runtime is not installing properly ...need help in procedure eespi002 Linux - Newbie 5 06-29-2010 05:25 PM
firefox and java not properly working under x64 Eric Vazquez Linux - Newbie 2 01-29-2009 10:32 AM
Java doesn't work properly Alien_Hominid Slackware 17 05-13-2007 04:41 PM
Is Java Installed Properly tahirghafoor Linux - Newbie 3 04-17-2006 07:48 AM
java scripts don't load properly MauricioTulua Linux - Software 1 09-17-2004 02:51 PM


All times are GMT -5. The time now is 11:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration