LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-25-2008, 06:08 AM   #1
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint16 Cinnamon 64bit
Posts: 179

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


Recently have not been able to get .jar files running. Repeatedly getting error msg, which indicates the problem is at the accessing of libjvm.so . After much searching have found a couple of references to setting a path to libjvm.so in the /etc/ld.so.conf 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
Thane
Member
 
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint16 Cinnamon 64bit
Posts: 179

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.
 
  


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
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


All times are GMT -5. The time now is 08:44 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