I assume you out the JAVA_HOME line in /etc/profile.
Add this line below it:
export JAVA_HOME
Then log out and log back in.
santoshamb wrote:
I'm trying to set up JBoss - In /etc/default/jboss I have the line:
JAVA_HOME=/usr/lib/j2sdk1.4.2
I've verified that /usr/lib/j2sdk1.4.2 is good, and that lib/tools.jar exists
However, when I start jboss using run.sh it gives me the following error at the beginning of the startup process:
run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a
JRE.
All documentation that I can find says that this error points to an improperly configured JAVA_HOME. But as far as I can tell, JAVA_HOME is set correctly. What else could be causing this problem?
Thanks for the help,
Ben
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829033#3829033
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829033
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user