0
votes
0answers
31 views

Set JAVA_HOME is not working

I'm trying to set JAVA_HOME in CentOS 6.5 by editing the file ~/.bash_profile and adding this line at end: PATH=$PATH:$HOME/bin export PATH export ...
0
votes
2answers
414 views

Does java respect PATH env variable when resolves .jar filename?

This is what I have in PATH: PATH=/opt/ClosureCompiler:/home/vmadmin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games There is a compiler.jar in /opt/ClosureCompiler, but ...
0
votes
4answers
3k views

Tomcat 7: “Cannot locate Java Home”

Arch Linux. Servlet apparently had compatibility problems with openjdk so I uninstalled it and installed the plain jdk/jre from AUR. # /etc/rc.d/tomcat7 restart :: Stopping tomcat7 daemon [FAIL] :: ...
0
votes
1answer
555 views

environment var not found on SuSe init.d script at boot

I've got a /etc/init.d/tomcat1 script which runs on boot on rc levels 3 and 5. This script calls /usr/local/tomcat1/bin/startup.sh on start. Although I can manually execute ...
4
votes
1answer
538 views

Where to specify JAVA_HOME to make it visible for apache?

It's CentOS 5. I created /etc/profile.d/java.sh file where I set and export JAVA_HOME. Everything works fine in terminal. When I'm trying to get this environment variable from PHP under Apache I get ...
2
votes
1answer
961 views

Environment variables in Weblogic Managed Server with SSL nodemanager

We have a C legacy application start with JNI that requires environment variables. Not java -Djava.library.path -Dvar=foo as these are purely java. I need real environment variables. When we setup ...
1
vote
5answers
9k views

How to change default /tmp to /home/user/tmp

Is there an environment variable to set the temporary directory on debian based systems? I have a java applet that uses that environement variable and it's getting confused when launching two ...