Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 39516  / 2 Years ago, fri, may 6, 2022, 11:00:24

Do I need a symlink to make javaws, that is, Java Web Start, work if I have a personalized location for my Java?



I have installed Java as follows:



sudo update-alternatives --install "/usr/bin/java" "java" 
"/home/user/programs/jdk6u32/bin/java" 1

sudo update-alternatives --install "/usr/bin/javaws" "javaws"
"/home/user/programs/jdk6u32/bin/javaws" 1

sudo update-alternatives --config java
sudo update-alternatives --config javaws

sudo ln -s /home/user/programs/jdk6u32/jre/lib/amd64/libnpjp2.so
/usr/lib/firefox-addons/plugins/libnpjp2.so


The last line is necessary for Firefox to find the Java plug-in. It sets up a symlink. It was due to advice found on stackexchange and I suspect I need something similar for javaws and if so, what would it be?



I am on ubuntu 12.04 (Precise) and Firefox 12.0 and Oracle Java 6 update 32.


More From » firefox

 Answers
4

Whenever you encounter a .jnlp file download, Firefox will present you with the "open-with" dialogue, then you can browse to the location of javaws and open the .jnlp file with it. From next time on, it'll be the default choise remembered by the browser.


[#37816] Saturday, May 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cisccla

Total Points: 66
Total Questions: 134
Total Answers: 115

Location: Croatia
Member since Fri, Sep 11, 2020
4 Years ago
;