Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: JAVA_HOME

Reply
Thread Tools

Re: JAVA_HOME

 
 
JohnTheGeek
Guest
Posts: n/a
 
      12-24-2008
On 2008-12-24, http://www.velocityreviews.com/forums/(E-Mail Removed) <(E-Mail Removed)> wrote:
> I've just installed tomcat using aptitude on my Debian system.
> I think I've got $CATALINA_HOME pointing at the right place.
> How can I tell where to point $JAVA_HOME to?
>
> www:~# java -version
> java version "1.4.2"
> gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)
>
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> so I think java is installed ok.
>
> Regards,
> Richard


Try this:

type java
java is hashed (/usr/local/java/bin/java)

based on this, I would say that my java is in /usr/local/java
so I'd set my JAVA_HOME to /usr/loca/java and put $JAVA_HOME/bin on my PATH
at the beginning


--
* Running Ubuntu 8.04 (The Hardy Heron), Vista and MacOSX
* I want to be a Cranky Geek http://www.crankygeeks.com
* Proud to support the UIP http://improve-usenet.org/
* RLU 451587 - Support the Twit Army http://army.twit.tv/
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Miss Michelle. Heigardt Java 8 04-09-2011 07:20 PM
problem setting java_home and j2ee_home Mohsen Java 1 12-09-2005 11:18 PM
Tomcat on Windows: JAVA_HOME & -Dsun.io.useCanonCaches' Paul Moloney Java 1 04-04-2005 11:31 AM
Re: Tomcat 5.0 and JAVA_HOME problem Bob Frank Java 0 08-20-2004 06:24 PM
q CATALINA_HOME and JAVA_HOME Jason Java 3 08-20-2003 09:42 PM



Advertisments