samhast Posted October 29, 2012 Share Posted October 29, 2012 When I want to upgrade from my jasperserver 4.5 to 4.7 on ubuntu, I have the following error:WARNING: JAVA_HOME environment variable not found [default] Running upgrade-minimal-ce Ant task. ---------------------------------------------------------------------- Error: JAVA_HOME is not defined correctly. We cannot execute java Checking Ant return code: OK What can I do? Link to comment Share on other sites More sharing options...
marianol Posted October 30, 2012 Share Posted October 30, 2012 Well the error is pretty self explanatory the JAVA_HOME enviroment variable is not set in your shell. To fix this just create the env variable e.g.: export JAVA_HOME=/usr/lib/jvm/java-6-sun (or whatever the path to your java home is)Also, Is Java installed in your system? I assume that yes but you can try doing "jave -version" form the command line it should gibe you something like this: $ java -versionjava version "1.6.0_37"Java SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)Java HotSpot 64-Bit Server VM (build 20.12-b01-434, mixed mode) Also doing a "which java" on the shell will tell you the path that java is installed Link to comment Share on other sites More sharing options...
samhast Posted December 18, 2012 Author Share Posted December 18, 2012 No java installed.. I just installed jasperserver 4.7 with war file.. on ubuntu... Now I want to upgrade, so JAVA is required? ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now