How do I run a particular version of "java"?
I have a program that needs Java 7, so I'd like to run that version of "java". I know I could use update-
I'm using 0install (from the Ubuntu zeroinstall-
<package-
but this isn't really right anyway, because "/usr/bin/java" might run a different version. For Java 7, I could use:
<package-
but that hard-codes "amd64" in the path, so it wouldn't work on other architectures. I was hoping for a "/usr/bin/java1.7", or a /usr/lib/jvm/java-7 symlink or similar.
What's the recommended way to run the version of Java from a particular package?
Mailing list post: http://
Thanks,
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu openjdk-7 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Thomas Leonard for more information if necessary.