Need Help with running a jar. files on my eeepc 4g specific help required!
Hello, i have recently bought an ASUS Eeepc 4g and i am having trouble trying to run/open jar. files. As i am only 14 Years of age i am having quite a time trying to sort out this problem.. i have opened the command console and tried all the codes to try open or create shortcuts to try open and run a jar.file but i am not succeeding, if you can help me please write back on this post giving me a step-step plan on how to fix this! and if so then great would make my life alot easier on this laptop. and by the way i need to try open this file called rsbot v1.23 as it is a jar.file i am unable to run or open it by saving to the disk. Thanks for your time and if you can help me great :)
|
You're more likely to get useful help if you fix the subject line of your request. (Click Edit on your first post, then go Advanced, then fix the subject).
You want to open a jar file on an ASUS Eeepc 4g, so a good subject line would be How to open jar file on ASUS Eeepc 4g A very bad subject line is anything like your original "Please READ AND HELP!". To open a jar file, first you need to install some version of the JRE (Sun Java Runtime Environment). But I don't know enough about an ASUS Eeepc 4g to give you any specifics on how to install the JRE. Most Linux distributions have some kind of package manager for doing most installs of software. That package manager probably has available either a JRE or some helper to assist in installing a JRE direct from Sun. |
Hi
Welcome to LQ! Please read the LQ Rules and "How to Ask Questions the Smart Way" - see my signature below. You need to provide more information in order for members to assist you. What distro/version are you using? Have you installed and setup Java? In general, from the terminal; to open up a jar you would run: Code:
$java -jar myjarfile.jar |
Quote:
whenever i type in $java -jar myjarfile.jar it comes up with the following message : bash: -jar: command not found and my software version is Eee PC 1.0.2.15 Memory size 512Mb and i have java 5.0 installed i think? i forgot the code that shows you which one you have installed. |
The generic command to find which java version you have installed is
Code:
java -version Quote:
Your results simply prove you don't have java defined as an environment variable. That doesn't prove anything about whether/which version of java you have installed. I suspect you have no version of java installed, so my suggested command will also result in "command not found" rather than telling you a version number. |
oh lol -.- made me look a bit silly then i will check the version right now and yes it was provided by the manufacturers company
|
i am running the current version of java : 1.5.10
Java (TM) 2 runtime enviroment, standard edition (build 1.5_10-b03) Java Hotspot (TM) Client VM (build 1.5_10-b03 Mixed Mode ) And i have tried the same Code again without the mistaken $ in it and it now says : Unable to access jarfile |
I did a quick search on the net for Eee PC and the most understandable info was at
http://en.wikipedia.org/wiki/Asus_Eee_PC#Xandros That "distribution" you were asked about apparently is "Xandros". According to wikipedia, one of the package managers you can use in Xandros is Synaptic. Since Synaptic is available, it is probably your best choice for installing software. |
@johnsfine
Quote:
As for the $ - since the OP did not post what distro; I assumed that they're not logged in as root and would be running it as an "ordinary" user from the command line. |
okay thankyou for your help john i will now look at the link you have given me and i will be happy if you can post back helping me in anyway thankyou.
|
Now that we know (to my surprise) you already have java installed:
Quote:
Do you mean you have already saved a file named "rsbot v1.23.jar" to some directory on the disk? If that is the actual name, then there is a blank in the name, so you need quotes around the name when used in any command. So assuming the suggestion from alli_yas was basically correct (I don't recall these details myself and don't have a .jar file handy to test and don't normally run .jar file that way myself) then make sure you are in the directory where the .jar file was saved and use the command Code:
java -jar "rsbot v1.23.jar" |
i have heard about xandros and i think i have it pre-installed but i still am confused on what to do i really would need a step to step plan thanks guys considering i am at a kind of young age This is quite confusing at some stages for me.
|
well john i want to run/download an "autobot" for a game i like to play called runescape the version of this "bot" can be found on rsbot.org then on the download toolbar. but when i click download and try run it it comes up with save to disk or run program with ________ This is a Jar. file!
|
Quote:
I posted that link based on my guess that you didn't have java installed. That link may still have generally useful info about your PC. But since you already have java installed, I don't think anything in that link is relevant to your current problem. |
i have tried opening rsbot.jar and it says unable to access jar file
|
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. |
any more info on what i can do??
|
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 .
|
I will try what u said right now!
|
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
|
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" Code:
ls "My Documents" 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/ |
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 |
Quote:
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. |
okay guys thanks for your help i will try all these things u have posted now :)
|
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.
|
ineedhelp*;
Please do not use texting shorthand here---also please use capitals, punctuation, etc. to make your posts more clear |
Oh sorry im kind of used to this short text language "slang" i'll try my best to punctuate my text properly :)
|
so yeah can anyone help me on how to get ubuntu or stuff that runs jar files on linux thanks!
|
Quote:
|
This computer does not have a slot where i can insert discs. is there anyway doing it opening the terminal window and using synaptic?
|
Quote:
|
i looked on the previous link u said me it says i need a cd drive to download ubuntu. All i need to do is open a jar file called rsbot with java scripts in it to program a virtual character to do something man i wish i bought a computer with xp now =/
|
If all you want to do is run the java file, we have already explained what you need to do.
See my post at #21, read it carefully, and make sure you have the /path/to/the/file and the filename correct. If you get errors, then tell us (exactly) what they are. You don't need a CD to install ubuntu on an eee701. See here But if you cannot type the right command, I do not think ubuntu is going to help you. |
All times are GMT -5. The time now is 02:29 PM. |