Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Compiling jsp

Il 14/02/2014 14:12, Joakim Erdfelt ha scritto:
Your upstart says ...

JAVA="/usr/lib/jvm/java-1.7.0-oracle/bin/java"

However, Jetty is actually running with ...

 java.home = /usr/lib/jvm/jdk1.7.0_45/jre

Uhm, you are right, but the 2 installation are the same (there is a symlink)

ls -la /usr/lib/jvm/

lrwxrwxrwx  1 root root    11 Nov 25 09:25 java-1.7.0-oracle -> jdk1.7.0_45
drwxr-xr-x  8 root root  4096 Oct  8 15:03 jdk1.7.0_45


Also, make sure your upstart configures JAVA_HOME and puts your selection of java first on the path (aka PATH=$JAVA_HOME/bin:$PATH)

Ok, thank you

-- 
Andrea Cappelli

Back to the top