running .jar files
hi, i've download jave-based installer fro jedit from its website... but now the problem is ".jar" file opens up in Archive Manager program when I click on it...instead of running the auto-installer...
|
I think java -jar <filename> will work.
|
Quote:
that's what i get: Code:
[root@localhost ~]# java -jar jedit42install.jar |
Update JRE...?
|
That looks like it's not a valid JAR file to me. You could unzip it and run the class files directly, perhaps.
|
I would think of a broken/uncompatible jdk/jre.
What reports: "java -version" ? |
Quote:
If you've did that, and just nodded, "OK, exists", jedit42install.jar should be valid (which is likely). In this case, we'ld need to find out more about your Java version (as jlliagre suggested). |
thx every1 for the replies
java -version: Code:
[zixan@localhost ~]$ java -version |
Use the full path to where you have installed Sun's JRE, eg.
Code:
/opt/jre1.5.0_07/bin/java -jar jedit42install.jar |
Quote:
|
You could link /opt/jre1.5.0_07/bin/java to /usr/bin then you wouldn't have to type the full path. Or just include the /opt/jre1.5.0_07/bin/ in your profile path.
|
tangle, do you know how can I link through the terminal, as I don't have root access in GUI? Or, is there a way to have root access with normal login in GUI?
|
Quote:
ln -sv |
ln -s <file your want to link> <file you want to link to>
ln -s /opt/jre1.5.0_07/bin/java /usr/bin/java |
All times are GMT -5. The time now is 09:09 PM. |