Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
$JAVA_HOME error

$JAVA_HOME error

2004-02-05       - By Tony Sutton

 Back
Reply:     1     2     3     4     5     6     7  

Thanks for the reply. Here's what I got after following your steps.

[tony@(protected) tony]$ export JAVA_HOME=/usr/java/j2re1.4.2_03
[tony@(protected) tony]$ export PATH=$JAVA_HOME/bin:$PATH
[tony@(protected) tony]$ cd jakarta-tomcat-4 (See http://cat-4.ora-code.com).1.29/bin/
[tony@(protected) bin]$ chmod +x startup.sh
[tony@(protected) bin]$ ./startup.sh
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program

So, no luck...

Do you think it's because I need the SDK and not JRE as mentioned by Mark
Thomas?

Many thanks,

- Tony Sutton
- http://www.hypertony.co.uk

-- --Original Message-- --
From: Filip Hanik (lists) [mailto:devlists@(protected)]
Sent: 04 February 2004 23:20
To: Tomcat Users List
Subject: RE: $JAVA_HOME error

do

export JAVA_HOME=/usr/java/j2re1.4.2_03
export PATH=$JAVA_HOME/bin:$PATH
cd jakarta-tomcat-4 (See http://cat-4.ora-code.com).1.29/bin/
chmod +x startup.sh
./startup.sh


Filip




-- --Original Message-- --
From: Tony Sutton [mailto:Tony@(protected)]
Sent: Wednesday, February 04, 2004 3:14 PM
To: tomcat-user@(protected)
Subject: $JAVA_HOME error


Hi there,

I'm new to using jakart.

I'm trying to get jakart v4.1.29 to run under Mandrake 9.1

I have downloaded and installed JRE from Sun, version 1.4.2_03. The
installation went well. Here's the output from my Linux box:

[tony@(protected) tony]$ which java
/usr/java/j2re1.4.2_03/bin/java
[tony@(protected) tony]$ echo $JAVA_HOME
/usr/java/j2re1.4.2_03
[tony@(protected) tony]$

OK so far.

However, I tried to start jakart by going to the  jakarta-tomcat-4 (See http://cat-4.ora-code.com).1.29/bin/
directory and typed in:

sh startup.sh

I get this error message:

[tony@(protected) bin]$ sh startup.sh
The JAVA_HOME environment variable is not defined correctly This environment
variable is needed to run this program [tony@(protected) bin]$

I can't figure out what I am doing wrong. I have tried googling for it, but
it came back very little.

Does anyone know why I am getting this error message?

Thanks,

Tony Sutton




-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.