Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-23-2010, 09:12 PM   #1
Registered: Feb 2010
Posts: 37

Rep: Reputation: 15
Question Java Web Start jnlp on Fedora


I have a basic Java Web Start/jnlp question (on Fedora) that I hope you in this forum can answer.

I currently have Web Start/jnlp up and working on my home system.
That is a Fedora/Linux box which runs Apache as the Web server.
I have a Windows 7 box that accesses that (Linux-based) Web server.

My html and jnlp are very simple and based right off Sun/Oracle examples.
The html just displays the launch button (see below).

It currently can launch two of my Java applications.
(But for this thread, I'm just asking about one)

I can successfully launch a Java application via Web Start/jnlp whether I am on the Linux box or the W7 box.

To get that to work I had to:
A) copy over my signed jar file to /tmp on Linux
B) copy over my signed jar file to the temporary Internet directories on W7.

If I don't do that it fails to run because it can't find the signed jar file on the Web server/Linux box.
It receives this error: /tmp/...
(But if I have manually copied it over to /tmp, or problem. It runs fine.)

- So that leads to my question:
Where is the signed jar file supposed to reside?
I've tried to place it in a bunch of directories on the Web site (directly accessible by the Web server) and also in places reflected in my CLASSPATH. Again, this is on the Linux box. But the only place it seems to work is to place it it /tmp on the Linux box and separately place it in the temporary Internet directories on the Windows box.

Here is the jnlp:

<?xml version="1.0" encoding="UTF-8"?>
. <jnlp spec="1.0+">
..........<!-- Application Resources -->
..........<j2se version="1.6+"
..........<jar href="My_DB_signed.jar" main="true" />
....<application-desc"My_DB DBMS"
....<update check="background"/>

Here is the html that calls it:

.<script src=""></script>
........// using JavaScript to get location of JNLP file relative to HTML page
........var dir = location.href.substring(0,
........ var url = dir + "My_DB.jnlp";
........ deployJava.createWebStartLaunchButton(url, '1.6.0');


Last edited by matt_thumper; 10-23-2010 at 09:14 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO GET .jnlp Java apps to run from Firefox in Gnome xiaodown Linux - Software 3 04-06-2011 01:24 AM
Java Web Start help ' sk-skuba Linux - Software 2 10-08-2006 01:04 AM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 05:09 PM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 07:30 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 01:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration