ArcaneLeviathan
Sat Apr 25, 2015 8:02:20 pm
My friend and I recently built identical computers and both installed Zorin OS 9 from the same USB stick. However, he cannot run jar files by double clicking. So I did what any normal person would do and "Open With" to change the default application. I did that on mine but he cannot do that on his because java is nowhere to be found. We (I) spent 4 hours trying to fix it. Here's what we tried:
-change the "No Display" in gedit to false, didnt work*
-run jar files from the terminal using java -jar [filename], worked for only some files
-reinstall openJDK from the Software Center, didnt work
-install a new version of java (7u79. Yes we had the Linux 64-bit .tar.gz file as was needed) using 3+ different series of commands in the terminal, but to no avail
-find different ways to set java as default, both through the terminal and config files, but that failed also*
I dont understand how mine worked perfectly just by changing the default with "open with" but his doesnt work. same computer, same OS, same EVERYTHING.
*I noticed if i went to /usr/share/applications/ there was to openjdk runtime, only policy tool. This made me unable to set java as default or correctly use gedit because java runtime couldnt be found.
This may be the problem. But I assumed a fresh install from the Software Center wouldve worked. Maybe I need a fresh install of Zorin.
What do you guys think?
Thanks for reading.
By the way, it's Java 7.
-change the "No Display" in gedit to false, didnt work*
-run jar files from the terminal using java -jar [filename], worked for only some files
-reinstall openJDK from the Software Center, didnt work
-install a new version of java (7u79. Yes we had the Linux 64-bit .tar.gz file as was needed) using 3+ different series of commands in the terminal, but to no avail
-find different ways to set java as default, both through the terminal and config files, but that failed also*
I dont understand how mine worked perfectly just by changing the default with "open with" but his doesnt work. same computer, same OS, same EVERYTHING.
*I noticed if i went to /usr/share/applications/ there was to openjdk runtime, only policy tool. This made me unable to set java as default or correctly use gedit because java runtime couldnt be found.
This may be the problem. But I assumed a fresh install from the Software Center wouldve worked. Maybe I need a fresh install of Zorin.
What do you guys think?
Thanks for reading.
By the way, it's Java 7.