Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 03-25-2008, 06:08 AM   #1
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint18 Cinnamon 64bit
Posts: 188

Rep: Reputation: Disabled
Ubuntu 7.10 64bit - how to set java path to/redirect java to ?

Recently have not been able to get .jar files running. Repeatedly getting error msg, which indicates the problem is at the accessing of . After much searching have found a couple of references to setting a path to in the /etc/ file. I've checked and there's no reference to the libjvm in that file. But these people are running RedHat, running servers, etc. I don't know if I should be trying this on my machine and I really have no idea how to attempt it either. Somewhere I've gotten Java7 IcedTea jre on the machine (it shows up in Synaptic). The iced tea seems to be the problem, but the gutsy complains after I remove the IcedTea - seems locked into wanting it present. I used to use sunjava6. Is there a way to make it work by setting a path to the conf file or somehow else as these people have alluded? Thanks.
Old 03-25-2008, 05:52 PM   #2
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint18 Cinnamon 64bit
Posts: 188

Original Poster
Rep: Reputation: Disabled
Found it. Couldn't get out of the repeated error command Child Process Failed every time I tried to run a .jar with IcedTea java uninstalled. Finally found the following command on a couple of discussions, which has redirected my SunJava6 to be the default java program. sudo update-java-alternatives –-set java-6-sun My .jar files are now loading fine.


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
LXer: Flash and Java on 64bit Ubuntu and Kubuntu LXer Syndicated Linux News 0 01-28-2008 11:11 PM
Firefox, Java, Ubuntu, 64bit Skillz Linux - Desktop 14 01-18-2008 02:08 PM
Cannot set the path for java jgoggel Programming 2 07-23-2004 06:31 AM
Java can't find package, but PATH set correctly (j2se1.4.0, java.util.regex package) Ethan Programming 5 02-06-2004 09:55 PM
Please help! I still can not set JAVA path preswang Linux - Software 9 11-01-2003 08:51 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:50 AM.

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