LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need Help with running a jar. files on my eeepc 4g specific help required! (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-running-a-jar-files-on-my-eeepc-4g-specific-help-required-821702/)

johnsfine 07-23-2010 10:15 AM

Remember we can't see exactly what you have done. So if you don't provide enough detail, we can't give good help.

When you got the prompt "save to disk or run program with" what did you do?

If you saved the file to disk, can you figure out what directory you saved it to and exactly what the name of the file was?

If you want to instead try the "run with" method again, I think that choice should let you either type in java or navigate to /usr/bin/java and then I think the "run with" would work.

ineedhelprightnow 07-23-2010 10:18 AM

any more info on what i can do??

ineedhelprightnow 07-23-2010 10:20 AM

i chose save to disk and extracted the file : rsbot.jar in My Documents and when i had extracted the file it went into a folder called "scripts" remmember these bots are scripts run by java all compiled into that one rsbot.jar file and when i extract it all the scripts come out .

ineedhelprightnow 07-23-2010 10:23 AM

I will try what u said right now!

ineedhelprightnow 07-23-2010 10:26 AM

i tried what u said and all it done was nothing to be honest i clicked open with ____ then /usr/bin/java and pressed ok and nothing happened

tredegar 07-23-2010 12:17 PM

Probably the path to the file is wrong.

You said you downloaded it to "My Documents".

If you just "open a terminal" you'll be in your home directory (Eg /home/ineedhelp/ ) but the file is in /home/ineedhelp/My Documents/

So try this
Code:

java -jar "~/My Documents/rsbot v1.23.jar"
If you are not sure of the filename (I am not, I guessed it in the line above) then do this

Code:

ls "My Documents"
and you should see the rsbot... filename listed. Make adjustments accordingly.

In general, spaces in linux filenames are a very bad idea. Rename the file as rsbot_v1.23.jar and then you will not have to worry about putting all filenames in quotes.

My Documents should also be renamed as MyDocuments or My_Documents for the same reason.

I hated xandros on my eeepc 701 4G, so I installed ubuntu:

http://wiki.eeeuser.com/

paulsm4 07-23-2010 12:21 PM

ineedhelprightnow -

A couple of things:

1. There's no such thing as "java -jar ..."

2. In order to run rsbot ("The Leader in Runescape Cheating Since 2006!" ;)), look for directions on their site:

http://www.rsbot.org/vb/

3. Here are some links that might help:

http://www.java.com/en/download/help/linux_install.xml
http://www.gaminggutter.com/forum/f4...ter-88868.html
http://www.gamerzneeds.net/forums/ru...ide-rsbot.html
http://www.sythe.org/showthread.php?t=609320

Google for "java rsbot" and you'll find a lot more (including a lot of video tutorials).

'Hope that helps .. pSM

tredegar 07-23-2010 12:31 PM

Quote:

1. There's no such thing as "java -jar ..."
Really? Then why do I launch my OSM editor like this:

java -Xmx128m -jar /home/tred/Maps/OSM/josm-tested.jar
?

If I omit the -jar it does not work. I am using Sun's Java 1.6.0_06.

ineedhelprightnow 07-23-2010 12:45 PM

okay guys thanks for your help i will try all these things u have posted now :)

ineedhelprightnow 07-23-2010 01:04 PM

guys i think i need ubuntu help on that would be nice and paul if u can help me more considering u know about rsbot that would be great thanks all.

pixellany 07-23-2010 01:08 PM

ineedhelp*;
Please do not use texting shorthand here---also please use capitals, punctuation, etc. to make your posts more clear

ineedhelprightnow 07-23-2010 01:10 PM

Oh sorry im kind of used to this short text language "slang" i'll try my best to punctuate my text properly :)

ineedhelprightnow 07-23-2010 01:35 PM

so yeah can anyone help me on how to get ubuntu or stuff that runs jar files on linux thanks!

tredegar 07-24-2010 03:33 AM

Quote:

so yeah can anyone help me on how to get ubuntu or stuff that runs jar files on linux thanks!
I already gave you the link, in post #21.

ineedhelprightnow 07-24-2010 04:33 AM

This computer does not have a slot where i can insert discs. is there anyway doing it opening the terminal window and using synaptic?


All times are GMT -5. The time now is 12:04 PM.