Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Java Virtual Machine, not in path?
new2it2
post Jan 21 2004, 11:24 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 21-April 03
Member No.: 705



I have installed Java Virtual Machine in RH 9 per the instuuctions on their web site.It resides in /usr/java/j2re1.4.2_03 as it should. When I try to install logging program for amateur radio called Jlog which requires java to be installed I get the following text.

dan@main dan]$ cd /usr/local/jlog
[dan@main jlog]$ sh ./install.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
[dan@main jlog]$

I have been unable to find anything on the web that would help me with getting JVM into my "path". Thanks for any help....
Go to the top of the page
 
+Quote Post
hughesjr
post Jan 22 2004, 06:03 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



See if you have java in your path ... issue the comamnd:

java -version
1. If the result is:
CODE
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-rc1)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-rc1, mixed mode)
(or maybe the sun version information)...then you may need to properly set your java CLASSPATH variable.

2. If the result is:

bash: java: command not found

Then find the java executeable .... I think it is going to be here (in your setup):

/usr/java/j2re1.4.2_03/jre/bin/java

If that is the correct path, issue this command:

ln -s /usr/java/j2re1.4.2_03/jre/bin/java /usr/bin/java

(If /usr/java/j2re1.4.2_03/jre/bin/java is not the correct path, find the java executable and substitute the correct path to it for /usr/java/j2re1.4.2_03/jre/bin/java)

After you make the link, try :

java -version

again and you should get a version print out (like posted in the above code block). Try reinstalling your program.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
new2it2
post Jan 22 2004, 06:03 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 21-April 03
Member No.: 705



Thanks, as you can see your suggestion worked for the java install. I don't suppose you would happen to know what this new error is all about would you. Thanks for the help...

[dan@localhost jlog]$ java -version
java version "1.4.2_03"
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot™ Client VM (build 1.4.2_03-b02, mixed mode)
[dan@localhost jlog]$ sh ./install.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX
[dan@localhost jlog]$
Go to the top of the page
 
+Quote Post
hughesjr
post Jan 22 2004, 09:25 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



not with this software ... but you might try the install docs for the program ... sometimes the program will have a specific CLASSPATH variable that you must set.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2017 - 05:11 AM