How to run Java and Minecraft in Slacko64_6.3.0? (Solved)

Booting, installing, newbie
Message
Author
User avatar
leejosepho
Posts: 50
Joined: Fri 24 Sep 2010, 06:27
Location: 200 miles south of Little Rock

#21 Post by leejosepho »

Semme wrote: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!
I think my copy'n-paste problem was from my trying to use CTRL-C rather than a right-click, but now I have the LXTerminal and this is what I get:

Code: Select all

sh-4.2# which java
/opt/jre/bin/java
Semme wrote:Open SFS_Load from your menu and hit the drop-down on your left.

Do you see some sort of "jre" type pkg?
Yes, I can use that drop-down to navigate to Java, but I do not know what folder or file to click for the load action.

Edit: I tried a load action and...

Code: Select all

fatal:'opt/jre/bin/java.sfs' not found
...was the result. "Properties" says the Java file is executable, but the file does not have .sfs as an extension.
Last edited by leejosepho on Wed 26 Oct 2016, 19:58, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#22 Post by Semme »

I now see the problem I've been overlooking..

Open you script and change the contents to reflect my example:

Code: Select all

#!/bin/sh
java -jar ~/my-applications/Minecraft.jar & 
Notice I added the "~" in front of /my-applications..

If it still fails, give me the output here:

Code: Select all

ls -l ~/my-applications/Minecraft.jar
Avoid typos by copying and pasting my code.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
leejosepho
Posts: 50
Joined: Fri 24 Sep 2010, 06:27
Location: 200 miles south of Little Rock

#23 Post by leejosepho »

Semme wrote:Open you script and change the contents to reflect...

...the "~" in front of /my-applications..
As you can see in previous posts, I had tried that several times before now...but now it works!

Question: Is the addition of LXTerminal what has made the difference there?

In any case, I definitely thank you very much for sticking with me here. I plan to do the same as all of this on my favorite notebook, and now that one should go quite smoothly.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#24 Post by Semme »

LXT, no. If you were typing my codes earlier there may have been typos.

In hindsight, the real problem is that I had been overlooking the absolute path.

The addition of the tilde is what was missing.

Good to hear.. FINALLY! :D
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
leejosepho
Posts: 50
Joined: Fri 24 Sep 2010, 06:27
Location: 200 miles south of Little Rock

#25 Post by leejosepho »

Semme wrote:...there may have been typos.

...I had been overlooking the absolute path.

The addition of the tilde is what was missing.
None of those things are applicable in our finally getting this working. I had tried both with and without the tilde several times and the code I am using was copied directly from one of my own posts...so whatever was wrong and however that got fixed remains a mystery!

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#26 Post by Semme »

No, no mystery.

My guess is you didn't save your script after the last edit and before running it here.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
leejosepho
Posts: 50
Joined: Fri 24 Sep 2010, 06:27
Location: 200 miles south of Little Rock

#27 Post by leejosepho »

Semme wrote:No, no mystery.

My guess is you didn't save your script after the last edit and before running it...
I am neither that careless nor sloppy, and it is insulting that you keep insisting I must have done something wrong.

Edit: I plan to add Java and Minecraft to my older Dell notebook in a couple of weeks by doing everything covered in this thread, and maybe then the seeming "missing link" as I see things will appear!

Once again: Many thanks.

Post Reply