How to run Java and Minecraft in Slacko64_6.3.0? (Solved)
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
How to run Java and Minecraft in Slacko64_6.3.0? (Solved)
I have a frugal install of puppy_slacko64_6.3.0 in a partition here in my laptop, and I would like to get Java working and then get Minecraft (client) running. I have already used the Puppy Package Manager to install gcc-java-4.8.2-x86_64-1.txz, but then 'java -jar Minecraft.jar' as a command in a terminal returns a message saying 'bash: java: java not found'.
I have looked at http://puppylinux.org/wikka/JavaRuntimeEnvironment and maybe I should be using something from there, but I do not know which file to use or how to install something manually in Puppy.
What do I need to do?
Many thanks!
I have looked at http://puppylinux.org/wikka/JavaRuntimeEnvironment and maybe I should be using something from there, but I do not know which file to use or how to install something manually in Puppy.
What do I need to do?
Many thanks!
Howdy Mate!
Lose that pkg you installed, then follow directions here.
Install the third one first, then the second.
That you've got a full install on the hard drive, I'm not exactly sure how Rerwin's Java builder's gonna run. If the prompts get funky, you can always bail..
If in fact it goes about building a *loadable* SFS pkg, make sure wherever you load it from it stays there. Should you ever need to remove the pkg, make sure you "sfs_load" UNLOAD IT beforehand.
Lose that pkg you installed, then follow directions here.
Install the third one first, then the second.
That you've got a full install on the hard drive, I'm not exactly sure how Rerwin's Java builder's gonna run. If the prompts get funky, you can always bail..
If in fact it goes about building a *loadable* SFS pkg, make sure wherever you load it from it stays there. Should you ever need to remove the pkg, make sure you "sfs_load" UNLOAD IT beforehand.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
I actually have a frugal install I have updated in every way the Package Manager offers. Question: Does frugal or full make a difference? I could easily change to a full install if necessary, but I have 1.5 GiB storage space in my save file and I presently have 844MiB free after removing the gcc-java-4.8.2-x86_64-1.txz package..Semme wrote:That you've got a full install on the hard drive, I'm not exactly sure how Rerwin's Java builder's gonna run...
Many thanks for your help, and now off to study the directions at your link...
Frugal's good. Don't concern yourself with PPM when addressing Java, Richard's installer will take care of everything including determining if there's enough space available outside your save. If for some reason it doesn't seem to work after the build finishes and asks you if "would you like to load it now," reboot.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
I goofed at first and turned "third one first, then the second" into "third one, then first", but that seems to have not caused any problem. After going back and installing the second and completing everything, 'java -jar Minecraft.jar' now works perfectly! So next:Semme wrote:Lose that pkg you installed, then follow directions here.
Install the third one first, then the second...
Richard's installer will take care of everything...
How can I turn 'java -jar Minecraft.jar' into some kind of Desktop/Tray icon? Going to the .jar and typing the command is not a problem, but having something to simply click would nicely ice the cake here...
Go into the "my-applications/bin" directory in your /root folder and rt-clk >> new >> script.
Under the shebang put "java -jar Minecraft.jar &", then save and close.
With this folder still open, drag the icon to your desktop.
Under the shebang put "java -jar Minecraft.jar &", then save and close.
With this folder still open, drag the icon to your desktop.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
...and make its name 'Minecraft' or whatever?Semme wrote:Go into the "my-applications/bin" directory in your /root folder and rt-clk >> new >> script...
What and/or where is "the shebang"? I know the meaning of the term, but I do not know where to place 'java -jar Minecraft.jar &'.Semme wrote:Under the shebang...
Edit: I figured that out and now I have this...
Code: Select all
#!/bin/sh
java -jar /my-applications/Minecraft.jar &
note: 'java -jar ~/my-applications/Minecraft.jar' works in a terminal, but none of these work in the script:
java -jar Minecraft.jar &
java -jar /my-applications/Minecraft.jar &
java -jar ~/my-applications/Minecraft.jar &
Persistence Mate. You've got to be willing to forge ahead when the going gets tough.
When you opened the script after creating it, there was only >> #!/bin/sh, or, your Shebang! Since Java's already on the system $PATH, change the line in your script to reflect the absolute directory path to your Minecraft.jar.
And, rethink'n this, I'd create a "jars" directory wherever you like. Since simple scripts are tiny, this folder could reside in "~/", also known as /root when running Pup. Your script would still point to wherever your store your Minecraft.jar.
That I wanted a quick confirmation, this works fine when clk'd as a desktop shortcut:
When you opened the script after creating it, there was only >> #!/bin/sh, or, your Shebang! Since Java's already on the system $PATH, change the line in your script to reflect the absolute directory path to your Minecraft.jar.
And, rethink'n this, I'd create a "jars" directory wherever you like. Since simple scripts are tiny, this folder could reside in "~/", also known as /root when running Pup. Your script would still point to wherever your store your Minecraft.jar.
That I wanted a quick confirmation, this works fine when clk'd as a desktop shortcut:
Code: Select all
#!/bin/sh
java -jar /tmp/JSudoku_1.0.jar &
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
Maybe you missed what I had posted:Semme wrote:Persistence Mate. You've got to be willing to forge ahead when the going gets tough. :D
---
...none of these work...
.
#!/bin/sh
java -jar Minecraft.jar &
.
#!/bin/sh
java -jar /my-applications/Minecraft.jar &
.
#!/bin/sh
java -jar ~/my-applications/Minecraft.jar &
---
I have only one eye that can read, but I think that is exactly what I have tried!Semme wrote: That I wanted a quick confirmation, this works fine when clk'd as a desktop shortcut:Code: Select all
#!/bin/sh java -jar /tmp/JSudoku_1.0.jar &
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
Still as previously posted:
edit:
Code: Select all
#!/bin/sh
java -jar /my-applications/Minecraft.jar &
So I am missing the '/bin/java' part?Semme wrote:So long as "which java" returns a location such as "/opt/jre/bin/java",
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
1. I only know about the one on the Slacko Desktop, and yes,Semme wrote:I'm getting the vibe "which java" returns nothing..
Which terminal are you running?
Is it Urxvt?
2. It is Urxvt.
3. No, "Nothing loaded" is all I see there. However, Java and Minecraft are working fine as long as I start Minecraft via 'java -jar Minecraft.jar'* from a terminal.Semme wrote:Go to "Setup" and open "SFS load on the fly."
Is Richards jre pkg in your right pane?
*note: I also have copy of Minecraft in that location to simplify typing in the terminal.
Your answer suggests you never followed through with my response here, otherwise you'd have a loaded JRE pkg.
Can you copy and paste to and from with Urxvt?
Last time, what does "which java" report?
Can you copy and paste to and from with Urxvt?
Last time, what does "which java" report?
- Attachments
-
- tahr-build_jre.jpg
- (15.74 KiB) Downloaded 141 times
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
- leejosepho
- Posts: 50
- Joined: Fri 24 Sep 2010, 06:27
- Location: 200 miles south of Little Rock
I suspect you might be missing or forgetting some of the facts:Semme wrote:Your answer suggests you never followed through with my response...
leejosepho wrote:I goofed at first and turned "third one first, then the second" into "third one, then first", but that seems to have not caused any problem. After going back and installing the second and completing everything, 'java -jar Minecraft.jar' now works perfectly!Semme wrote:...follow directions here.
Install the third one first, then the second...
Richard's installer will take care of everything...
No, I cannot. The window just turns white when I try.Semme wrote:Can you copy and paste to and from with Urxvt?
How can I check "which Java"?Semme wrote:...what does "which java" report?
Install LXTerminal from PPM. Then open it and type: which java
You should have absolutely zero troubles with terminal copy'n paste from here on out!
==
Now some "fact" checking..
Open SFS_Load from your menu and hit the drop-down on your left.
Do you see some sort of "jre" type pkg?
You should have absolutely zero troubles with terminal copy'n paste from here on out!
==
Now some "fact" checking..
Open SFS_Load from your menu and hit the drop-down on your left.
Do you see some sort of "jre" type pkg?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<