Page 1 of 1

Java

Posted: 04 Sep 2014, 11:38
by tb59427
Hi all,

as reported in an earlier post, I am setting up porteus to run a briefing pc in our flying club. One essential element of the weather forecast for glider pilots in Germany is an application called toptherm (it's a thermal model for today and 2 days into the future for those interested). Toptherm is a .jnlp file that downloads to your pc each time you go to the respective site on the German Met Office's web service (www.flugwetter.de - requires login, though).

Now obviously that doesn't work on a vanilla porteus installation. Would it be possible to have the porteus system execute such a jnlp file (plus the required download via firefox)? Or am I asking for the impossible given that kiosks usually should download and execute java programs?

Any pointer and tips welcome

cheers
Torsten

Re: Java

Posted: 04 Sep 2014, 12:01
by wread
About JNLP files I read:
File created in the Java Network Launching Protocol (JNLP) format; used for launching and managing Java programs over a network or on the Web (e.g., an applet in a Web browser); can be double-clicked to run the program if the Java Runtime Environment (JRE) is installed.
Do you have JRE installed? Try it!

Grüsse!

Re: Java

Posted: 04 Sep 2014, 12:06
by bdheeman
tb59427 wrote:Hi all,

as reported in an earlier post, I am setting up porteus to run a briefing pc in our flying club. One essential element of the weather forecast for glider pilots in Germany is an application called toptherm (it's a thermal model for today and 2 days into the future for those interested). Toptherm is a .jnlp file that downloads to your pc each time you go to the respective site on the German Met Office's web service (http://www.flugwetter.de - requires login, though).

Now obviously that doesn't work on a vanilla porteus installation. Would it be possible to have the porteus system execute such a jnlp file (plus the required download via firefox)? Or am I asking for the impossible given that kiosks usually should download and execute java programs?

Any pointer and tips welcome
IMHO, you need to download, at least, latest JRE from Oracle's download site and (re-)package this using
http://ebba.ddns.net/pub/Linux/SlackBuilds/jre7.tar.xz
or:
http://ebba.ddns.net/pub/Linux/SlackBuilds/jre8.tar.xz

The SlackBuild process will give you a txz package which can/must be converted to a Porteus module using tzx2xzm script; extract your Porteus ISO image somewhere on a free partition, move the jre module to 'modules' directory and re-master (or create) ISO image using make_iso.sh script.

After you test booting off of this new ISO image using grub2 or something like that, you also need to fix this ISO for hybrid booting so that you may copy this ISO image to USB-Disks, Pen-Drives and, or SDCards for booting. This can be done using hybrid command available in the syslinux package

EDIT: updated links to new site/locations ;-)

Re: Java

Posted: 04 Sep 2014, 12:41
by tb59427
wread wrote:About JNLP files I read:
File created in the Java Network Launching Protocol (JNLP) format; used for launching and managing Java programs over a network or on the Web (e.g., an applet in a Web browser); can be double-clicked to run the program if the Java Runtime Environment (JRE) is installed.
Do you have JRE installed? Try it!

Grüsse!
Thanks. Dunno wether this installed during configuration. In the installation wizard I enabled java. Your comment seems to indicate that enabling java in the wizard may not be enough. Will download your xxm package and install...

cheers
-tb

Re: Java

Posted: 04 Sep 2014, 14:23
by fanthom
i think similar problem is described here:
http://forum.porteus.org/viewtopic.php?f=127&t=3197

please disable firewall and check if that helps. if not then it must be the kiosk itself which prevents downloads of any files thus jnlp cannot be executed by java. if this is really the case then only kiosk 'customized build' can change that i'm afraid.