Advertisement

05.22.2003 at 11:38AM PDT, ID: 20623603
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

JAVA_HOME environtment variable ? - Tomcat on a Virtual FreeBSD Server with JDK1.4

Asked by 68_beagles in OpenBSD, Server Side Includes (SSI)

Tags: , , , ,

Hello

How do I set the JAVA_HOME environment variable

I am using a virtual Free BSD server, which means that I don't have root access, only telnet/SSH access.


The hosting company installed JDK1.4 (upgrade from 1.1.18)

..now I need tomcat installed.
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.24/bin/jakarta-tomcat-4.1.24.tar.gz

I installed as per these direction:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt


When I run Tomcat I receive this error

     prompt% pwd
     /usr/local/jakarta-tomcat-4.1.24/bin
     prompt% startup.sh
     The JAVA_HOME environment variable is not defined
     This environment variable is needed to run this program
     prompt%


if this helps
     prompt% echo $shell
     /usr/local/bin/tcsh
     prompt%


I thought I might need to change something in my   .cshrc  file, but I am not sure. This is going further then I know.
here is a copy of the current  .cshrc file. Changes were made in here for the JDK, and PostgrSQL

******************************
     set path= (~/usr/local/jakarta-tomcat-4.1.24/bin ~/usr/local/j2re1.4.1_02  
/usr/local/j2re1.4.1_02/bin  /bin /usr/bin /usr/local/bin ~/bin ~/usr/bin ~/usr/local/bin)

    if (! $?prompt) exit

     set history      = 100
     set prompt      = "`hostname -s`% "

     unalias *

     alias h            history
     alias ll      ls -l
     alias la      ls -la
     alias www      cd www/htdocs/

     setenv BLOCKSIZE      1k
     setenv EDITOR            vi
     setenv PAGER            more

     umask 022

     if (! $?term) set term = vt100

     stty echoe erase ^H kill ^U intr ^C quit ^\| susp ^Z
     setenv PORTSDIR "$HOME/usr/ports"
     setenv PREVIX "$HOME/usr/local"

     setenv PGDATA /usr/local/pgsql/data
     setenv PGLIB /usr/local/pgsql/lib
     setenv LD_LIBRARY_PATH /usr/local/gpsql/lib
     set path = (/usr/local/pgsql/bin $path)
**************************************

Any direction or any help would be great.

if you are wondering why the hosting company does not help, this is not a product that they support.


on another note, is there a way to change my prompt to show my path??

Thanks

David
Start Free Trial
 
 
[+][-]05.22.2003 at 12:35PM PDT, ID: 8567022

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.22.2003 at 01:34PM PDT, ID: 8567375

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.22.2003 at 11:57PM PDT, ID: 8569899

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2003 at 08:43AM PDT, ID: 8572860

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: OpenBSD, Server Side Includes (SSI)
Tags: java_home, defined, variable, freebsd, tomcat
Sign Up Now!
Solution Provided By: gheist
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.23.2003 at 12:54PM PDT, ID: 8574440

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.24.2003 at 12:24AM PDT, ID: 8576525

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.27.2003 at 06:01PM PDT, ID: 8594393

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.27.2003 at 07:56PM PDT, ID: 8594831

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2003 at 12:27AM PDT, ID: 8596034

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2003 at 12:55AM PDT, ID: 8596176

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2003 at 10:22AM PDT, ID: 8640710

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32