Java ide installation (Sun)

Derek Broughton news at pointerstop.ca
Tue Feb 20 13:42:04 UTC 2007


John Dangler wrote:

> On Tue, 2007-02-20 at 17:33 +1100, Peter Garrett wrote:
> .
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.08
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre
> .
> .
> .
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/bin
> .
> .
> .
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/lib
> 
> Since all of this is in a dir labeled "jvm", I would think that it point
> s to the java virtual machine.  Is that the same as the jdk (developers
> kit) ?

It's not the same (the vm provides the "java" program, the jdk provides
the "javac" compiler), but the jdk seems to use the same directories as the
jre:

derek at othello:~$ dlocate javac
sun-java5-jdk: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/man/man1/javac.1.gz
sun-java5-jdk: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/man/ja/man1/javac.1.gz
sun-java5-jdk: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/bin/javac
sun-java6-jdk: /usr/lib/jvm/java-6-sun-1.6.0.00/man/man1/javac.1.gz
sun-java6-jdk: /usr/lib/jvm/java-6-sun-1.6.0.00/man/ja/man1/javac.1.gz
sun-java6-jdk: /usr/lib/jvm/java-6-sun-1.6.0.00/bin/javac

-- 
derek





More information about the ubuntu-users mailing list