How to run .jnlp files? [SOLVED]
How to run .jnlp files? [SOLVED]
Hi,
I am in Precise 5.7.1 (frugal)
I just downloaded the latest java: jre 7_45. It includes Java Webstart as well.
I just don't know how to run jnlp files.
Thank you!
The issue has been solved:
http://murga-linux.com/puppy/viewtopic. ... 907#750907
and
http://murga-linux.com/puppy/viewtopic. ... 026#751026
I am in Precise 5.7.1 (frugal)
I just downloaded the latest java: jre 7_45. It includes Java Webstart as well.
I just don't know how to run jnlp files.
Thank you!
The issue has been solved:
http://murga-linux.com/puppy/viewtopic. ... 907#750907
and
http://murga-linux.com/puppy/viewtopic. ... 026#751026
Last edited by fobq on Tue 14 Jan 2014, 09:58, edited 2 times in total.
As far as I know it should be run with /usr/bin/javaws
From the browser window, use 'open file' and select /usr/bin/javaws
From the filer window (rox), left click on .jnlp file and use
'file '*.jnlp' > set run action
In the 'use shell command' text box type, /usr/bin/javaws "$@"
----
That works to load up Java, my problem is Blackboard Collaborate says unable to launch, error message-
From the browser window, use 'open file' and select /usr/bin/javaws
From the filer window (rox), left click on .jnlp file and use
'file '*.jnlp' > set run action
In the 'use shell command' text box type, /usr/bin/javaws "$@"
----
That works to load up Java, my problem is Blackboard Collaborate says unable to launch, error message-
Edit: all programs give same error, along withJreExecException[ Could not launch the Java Runtime Environment version /usr/java]
at com.sun.javaws.Launcher.relaunch(Unknown Source)
...
java.io.IOException: Cannot run program "/usr/java": error=13, Permission denied
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Re: How to run .jnlp files?
Where did you download the java jre from and what did you do with it?fobq wrote:I just downloaded the latest java: jre 7_45
If you just unpacked the tarball from the java website you will at least need to symlink the bins into the PATH somewhere (eg /usr/bin or /usr/local/bin).
Oscar in England
I downloaded the RPM file from:
https://www.java.com/en/download/linux_ ... ?locale=en
it made a folder called java in /usr, I moved it to /mnt/home/programs and simlinked it back to /usr
https://www.java.com/en/download/linux_ ... ?locale=en
it made a folder called java in /usr, I moved it to /mnt/home/programs and simlinked it back to /usr
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Open a terminal and type javaws and see what you get. Is it found?
The cluster of java executables including javaws is probably now in a sub-directory such as /mnt/home/programs/java/jre*/bin where it won't automatically be found.
Symlink each of them into /usr/bin and you can set the run action as just javaws "$@" Otherwise, after doing the symlinks, open a terminal and type javaws /path/to/yourfile.jnlp and see what the output is.
The cluster of java executables including javaws is probably now in a sub-directory such as /mnt/home/programs/java/jre*/bin where it won't automatically be found.
Symlink each of them into /usr/bin and you can set the run action as just javaws "$@" Otherwise, after doing the symlinks, open a terminal and type javaws /path/to/yourfile.jnlp and see what the output is.
Oscar in England
first, javaws command was not found.
After, I made simlinks as you told and typed javaws.
After I set run action to my jnlp files: javaws "$@" but nothing
After I tried from command line, as you recommended:
After, I made simlinks as you told and typed javaws.
Code: Select all
# javaws
Java Web Start splash screen process exiting ...
Bad installation: JAVAWS_HOME not set: No such file or directory
After I tried from command line, as you recommended:
Code: Select all
# javaws /mnt/home/programs/abevjava_install.jnlp
Java Web Start splash screen process exiting ...
Bad installation: JAVAWS_HOME not set: No such file or directory
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Perhaps the RPM does not install java in a way that is suitable for Puppy.
I am no expert on java and have never tried to run a .jnlp file, but I have a jre .sfs package which places the java folder in /usr/local/java and the symlinks in /usr/local/bin
If I load the .sfs and type javaws in terminal it looks promising though:-
I have uploaded the package in case you want to give it a try.
http://smokey01.com/OscarTalks/jre-1.7u45-i586.sfs
I am no expert on java and have never tried to run a .jnlp file, but I have a jre .sfs package which places the java folder in /usr/local/java and the symlinks in /usr/local/bin
If I load the .sfs and type javaws in terminal it looks promising though:-
Code: Select all
# javaws
Java(TM) Web Start 10.45.2.18-fcs
Usage: javaws [run-options] <jnlp-file>
javaws [control-options]
where run-options include:
-verbose display additional output
-offline run the application in offline mode
-system run the application from the system cache only
-Xnosplash run without showing a splash screen
-J<option> supply option to the vm
-wait start java process and wait for its exit
control-options include:
-viewer show the cache viewer in the java control panel
-clearcache remove all non-installed applications from the cache
-uninstall remove all applications from the cache
-uninstall <jnlp-file> remove the application from the cache
-import [import-options] <jnlp-file> import the application to the cache
import-options include:
-silent import silently (with no user interface)
-system import application into the system cache
-codebase <url> retrieve resources from the given codebase
-shortcut install shortcuts as if user allowed prompt
-association install associations as if user allowed prompt
#
http://smokey01.com/OscarTalks/jre-1.7u45-i586.sfs
Oscar in England
Thanks OscarTalks
Your version version of java jre-1.7u45-i586.sfs works with webstart .jnlp apps for me. Shinobar's version failed ( see above {permission error?}).
One difference I noticed is that you link to the binaries (javaws etc) from /usr/local/bin rather than /usr/bin don't know if that is the fix or something else?
Thanks again!
Your version version of java jre-1.7u45-i586.sfs works with webstart .jnlp apps for me. Shinobar's version failed ( see above {permission error?}).
One difference I noticed is that you link to the binaries (javaws etc) from /usr/local/bin rather than /usr/bin don't know if that is the fix or something else?
Thanks again!