File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up JAVA_HOME variable in Ubuntu 10.10

 
Pratik D mehta
Ranch Hand
Posts: 121
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
When I start tomcat from the terminal stating sudo sh startup.sh
It gives a message as

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program

So how do i set those variables .
 
Pratik D mehta
Ranch Hand
Posts: 121
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I got the answer.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic