Should java-common still be creating the /usr/lib/jvm/default-java symlink?

Asked by Wes Morgan

On new installs of 12.04 with the latest packages as of Oct. 29, 2012, 22:50 UTC, the /usr/lib/jvm/default-java does not get created. After installing openjdk-6-jdk, my /usr/lib/jvm/ dir looks like this:

ls -la /usr/lib/jvm
total 24
drwxr-xr-x 5 root root 4096 Oct 29 22:12 .
drwxr-xr-x 53 root root 4096 Oct 29 22:12 ..
lrwxrwxrwx 1 root root 19 Oct 24 19:12 java-1.6.0-openjdk-i386 -> java-6-openjdk-i386
-rw-r--r-- 1 root root 2345 Oct 24 19:12 .java-1.6.0-openjdk-i386.jinfo
drwxr-xr-x 3 root root 4096 Oct 29 22:12 java-6-openjdk-common
drwxr-xr-x 7 root root 4096 Oct 29 22:12 java-6-openjdk-i386
drwxr-xr-x 5 root root 4096 Oct 29 22:12 java-7-openjdk-i386

I have software that assumes that symlink will be there. So I'm curious if this is a bug or an intentional change.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu java-common Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I believe so, so that there is a standard file for java to use, you can use the same name in development. This is also used in kernel compilation so that the same folder name is used, the link can be used to easily change what is used when multiple options are available.

Revision history for this message
Wes Morgan (wesmorgan) said :
#2

So you're saying it is a bug that java-common no longer creates the default-java symlink?

On Oct 30, 2012, at 5:56 AM, actionparsnip <email address hidden> wrote:

> Your question #212696 on java-common in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/java-common/+question/212696
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> I believe so, so that there is a standard file for java to use, you can
> use the same name in development. This is also used in kernel
> compilation so that the same folder name is used, the link can be used
> to easily change what is used when multiple options are available.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/java-common/+question/212696/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/java-common/+question/212696
>
> You received this question notification because you asked the question.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

Possibly. You can report a bug if you suspect one

Revision history for this message
Wes Morgan (wesmorgan) said :
#4

Thanks actionparsnip, that solved my question.