GetDotted Domains

Viewing Thread:
"jnlp help!"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 18/07/08 at 19:46
Regular
Posts: 7
Hi trying to launch a java application via a jnlp file ... I have upload the jar file, jnlp file and a simple call to the jnlp file from my html page. When I click on the link to launch the java application the jnlp just displays its code! Is there something missing I need to do

anyhelp welcome , thanks

the html

Launch the lottochecker

the jnlp




LottoLaunch
Me
LotteryChecker
LotteryChecker
LotteryChecker











Tue 22/07/08 at 16:32
Regular
Posts: 7
yes I was practising my java swing! now I got to understand class path as the application can't access the result file in the java packages. The euro tab and thunderball I will do if there is an enough interest in it.

thanks for your help.
Tue 22/07/08 at 14:31
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
Yup, working here!
I'm guessing you're still playing with Swing and getting the Euro and Thunderball tabs working?
Tue 22/07/08 at 11:32
Regular
Posts: 7
The application now launches, so thanks for all who contributed with the htaccess file
Tue 22/07/08 at 09:08
Regular
Posts: 7
Got a bit further, the main class was incorrect ,,, now the web attempts to launch the application... I now get

The following required field is missing from the launch file:

so will take a look at that. Fingers cross once I resolve this it will launch... as always any tips let me know.
Tue 22/07/08 at 08:27
Regular
Posts: 7
Right tried the htaccess file as I made a mistake .. it now has the following

AddType application/x-java-jnlp-file .jnlp
AddType application/x-java-archive .jar
AddType application/x-java-archive-diff .jardiff

Now when I launch the java application the jnlp file just displays rather than launching the application?

I have on index page and it all blank apart from the following

Launch the lottochecker

www.gethin.ukcool.com
Mon 21/07/08 at 12:00
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
Are you getting that for all pages on your site or just the jnlp file? If it's all files then you'll have to remove the .htaccess changes.
Otherwise it's probably just a permissions problem and you'll need to check that the folder containing the jnlp file is set to 755 and the file itself is set to 644.
Mon 21/07/08 at 08:52
Regular
Posts: 7
The error I am getting is as followed.

ERROR 500, Problem Running a Script...

A scripting/config error prevents the server from showing this page.
Mon 21/07/08 at 02:26
Regular
"Devil in disguise"
Posts: 3,151
What error are you getting?
Sun 20/07/08 at 08:34
Regular
Posts: 7
Thanks for the reponses, Added a .htaccess and amendment to the .jnlp file as suggested. Now get a config/scripting error? Any advice would be most welcome or any suggestion where to read up about the config...
Sat 19/07/08 at 13:07
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
Although we won't support it, you can try adding

AddType application/x-java-jnlp-file .jnlp
AddType application/x-java-archive-diff .jardiff

to a .htaccess file in the directory you are serving the jnlp file from.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Very pleased
Very pleased with the help given by your staff. They explained technical details in an easy way and were patient when providing information to a non expert like me.
My website looks tremendous!
Fantastic site, easy to follow, simple guides... impressed with whole package. My website looks tremendous. You don't need to be a rocket scientist to set this up, Freeola helps you step-by-step.
Susan

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.