Java

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
tb59427
Ronin
Ronin
Posts: 3
Joined: 04 Sep 2014, 11:28
Distribution: latest
Location: Germany

Java

Post#1 by tb59427 » 04 Sep 2014, 11:38

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

User avatar
wread
Module Guard
Module Guard
Posts: 1256
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Re: Java

Post#2 by wread » 04 Sep 2014, 12:01

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!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
bdheeman
Contributor
Contributor
Posts: 78
Joined: 15 Sep 2012, 19:39
Distribution: Porteus 3.0.1+ MATE/XFCE
Location: Chandigarh, PB, India
Contact:

Re: Java

Post#3 by bdheeman » 04 Sep 2014, 12:06

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 ;-)
Last edited by bdheeman on 19 Apr 2015, 12:14, edited 1 time in total.
--
Balwinder S "bdheeman" Dheeman (http://bdheeman.BlogSpot.in/)
"Working together, works! The proof is GNU/Linux and F/LOSS Projects;
Do you too voluntarily work on or contribute to making any difference?"

tb59427
Ronin
Ronin
Posts: 3
Joined: 04 Sep 2014, 11:28
Distribution: latest
Location: Germany

Re: Java

Post#4 by tb59427 » 04 Sep 2014, 12:41

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

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Java

Post#5 by fanthom » 04 Sep 2014, 14:23

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.
Please add [Solved] to your thread title if the solution was found.

Locked