JavaFX: JNLP file error
Posted
by jeff porter
on Stack Overflow
See other posts from Stack Overflow
or by jeff porter
Published on 2010-05-18T20:55:13Z
Indexed on
2010/05/24
7:31 UTC
Read the original article
Hit count: 322
javafx
Hello everyone,
I'm getting the following error when I upload a JavaFX app to a website, but I don't get it locally.
I'm presuming that I'm missing something like the 'codebase' tag, but I'm not sure where it goes, can anyone help me out please?
Java Console error:
exception: JNLP file error: iShout_Foxpro_browser.jnlp.
Please make sure the file exists and check if "codebase" and "href" in the JNLP
file are correct..
java.io.FileNotFoundException: JNLP file error: iShout_Foxpro_browser.jnlp.
Please make sure the file exists and check if "codebase" and "href" in the JNLP
file are correct.
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.io.FileNotFoundException: JNLP file error:
iShout_Foxpro_browser.jnlp.
Please make sure the file exists and check if "codebase" and "href" in the
JNLP file are correct.
HTML file source...
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>app_one</title>
</head>
<body>
<script src="http://dl.javafx.com/1.3/dtfx.js"></script>
<script>
javafx(
{
archive: "app_one.jar",
draggable: true,
width: 480,
height: 320,
code: "app.Main",
name: "app_one"
}
);
© Stack Overflow or respective owner