Running java applications

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

Running java applications

#1 Post by nic007 »

I would like to run opera mini with microemulator on Puppy 4.12. Have downloaded java jre.pet and the files for microemulator and opera mini. I`ve installed java. Where should I place the microemulator and opera mini files and how do I go about running microemulator.jar and eventually opera mini. How do I place a shortcut for microemulator on desktop and in starting menu? Thanks

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi nic007

there's already an opera mini pet here http://www.murga-linux.com/puppy/viewtopic.php?t=77857

for a desktop shortcut drag and drop operamini from /usr/share/applications onto your desktop
......................................................

if you're wanting to run other jar files with the emulator, you should first right click on the microemulator.jar and choose 'set run action' and type

Code: Select all

java -jar "$@"
in the command box.
this associates jar files with java. left clicking on the microemulator.jar should now start it. you can load different jar files from within it.

to start the operamini in the pet i made i used this script

Code: Select all

#!/bin/sh
cd /root/microemulator-2.0.4
java -jar ./microemulator.jar ./operamini.jar
this works because the operamini.jar is in the same directory as the microemulator. you would have to put the path it was in a different place.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#3 Post by nic007 »

666philb wrote:hi nic007

there's already an opera mini pet here http://www.murga-linux.com/puppy/viewtopic.php?t=77857

for a desktop shortcut drag and drop operamini from /usr/share/applications onto your desktop
......................................................

if you're wanting to run other jar files with the emulator, you should first right click on the microemulator.jar and choose 'set run action' and type

Code: Select all

java -jar "$@"
in the command box.
this associates jar files with java. left clicking on the microemulator.jar should now start it. you can load different jar files from within it.

to start the operamini in the pet i made i used this script

Code: Select all

#!/bin/sh
cd /root/microemulator-2.0.4
java -jar ./microemulator.jar ./operamini.jar
this works because the operamini.jar is in the same directory as the microemulator. you would have to put the path it was in a different place.
Thanks 666philb. I`ve downloaded your .gz file but can't get it to install. I have however copied the microemulator and opera mini files from my windows partition and got it to work in puppy. I notice that I can only use the opera mini keyboard to type and not my desktop keyboard. Is this an issue with linux? Also, is there a way to download files with opera mini? In windows I can change the configuration file to make downloads possible.

Thanks

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#4 Post by 666philb »

hi nic007

my regular keyboard is working for me (although the on screen keyboard appears aswell)
i haven't managed to download with it yet, what configuration file did you alter in windows?

as for the .gz package. that is actually a .pet package and once downloaded, left clicking on it in any puppy should install it
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#5 Post by nic007 »

666philb wrote:hi nic007

my regular keyboard is working for me (although the on screen keyboard appears aswell)
i haven't managed to download with it yet, what configuration file did you alter in windows?

as for the .gz package. that is actually a .pet package and once downloaded, left clicking on it in any puppy should install it
Hi, unfortunately I can`t get your file to install. Nothing happens when left-clicking or drag and drop to zip icon. Can`t see it in the application folder. Anyway, I still have the problem with the regular keyboard not working as it should. The config file is a an .xml extention file which I can`t attach here (get disallowed message). Cheers

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#6 Post by nic007 »

666philb wrote:hi nic007

my regular keyboard is working for me (although the on screen keyboard appears aswell)
i haven't managed to download with it yet, what configuration file did you alter in windows?

as for the .gz package. that is actually a .pet package and once downloaded, left clicking on it in any puppy should install it
Hi, 666philb. Just re-visiting this thread, Have you been able to save and download files with opera-mini? There's a sort of a hack that works for me in windows but can't get it to work in puppy.

Post Reply