Java 6 installation and setup

Asked by LCID Fire

I noticed some strange things when installing the sun java package. The vm is not setup in /etc/jvm - nor is a classpath variable created. Thus - for every java app the classpath has to be defined manually - or is there any simpler solution?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Solved by:
C de-Avillez
Solved:
Last query:
Last reply:
Revision history for this message
Best C de-Avillez (hggdh2) said :
#1

You can use 'sudo update-java-alternatives' to set up the desired default Java. Use 'update-java-alternatives --help' for a brief on how to run it.

Revision history for this message
LCID Fire (lcid-fire) said :
#2

Thanks hggdh, that solved my question.