problem starting hamsphere in linux
2011-12-04 17:25
I have 64bit linux mint 10 kde and i tried to install hamphere_3.0.2.8.jar Made the jarfile executable. Then tried to open it with java:
~ $ java hamsphere_3.0.2.8.jar
Exception in thread "main" java.lang.NoClassDefFoundError: hamsphere/jar
Caused by: java.lang.ClassNotFoundException: hamsphere.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: hamsphere.jar. Program will exit.

Also rightclicking jarfile and selecting open with java didnt open it.
$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.8) (6b20-1.9.8-0ubuntu1~10.10.1)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
Help would be appreciated.
OH2GUF
Re: problem starting hamsphere in linux
2011-12-15 13:13
Hi
Just can't get hamsphere to work on ubuntu linux 10.10
call sign 26HS1823

Hi
Regarding the above I have now fixed the problem, actions to make the
file work are as follows,
Right click file, click properties, click permissions, tick make file
executable, click open with, click sun java, if this is not installed,
install from package manager,
Thanks

Tony Lawrence
callsign 26hs1823

Thank you Tony for your remarks that maybe will help others................
Yes the Jar file needs to be OPENED with JAVA Platform ....................


Vic
Re: problem starting hamsphere in linux
2011-12-29 21:41
Hello!
I am a new user from St Martin (FWI).
I had a problem to launch hamsphere_3.0.2.8.jar from the dock of my Linux (Debian Crunchbang Statler) but not from the folder where hamsphere_3.0.2.8.jar is located.

If you have the same problem,

    [1] go in the folder where is located hamsphere_3.0.2.8.jar
    [2] then "open root terminal here"
    [3] type in the terminal chmod u+rwx hamsphere_3.0.2.8.jar
    [4] code of the link (in the dock on the desktop): '/home/user/documents/HAM Radio/hamsphere_3.0.2.8.jar'
Et voilà!
Re: problem starting hamsphere in linux
2013-07-28 19:51
Please try

sudo java -jar hamsphere_3.0.3.2.jar

makesure you use the correct filename.

OH2GUF Wrote:
-------------------------------------------------------
> I have 64bit linux mint 10 kde and i tried to
> install hamphere_3.0.2.8.jar Made the jarfile
> executable. Then tried to open it with java:
> ~ $ java hamsphere_3.0.2.8.jar
> Exception in thread "main"
> java.lang.NoClassDefFoundError: hamsphere/jar
> Caused by: java.lang.ClassNotFoundException:
> hamsphere.jar
> at
> java.net.URLClassLoader$1.run(URLClassLoader.java:
> 217)
> at
> java.security.AccessController.doPrivileged(Native
> Method)
> at
> java.net.URLClassLoader.findClass(URLClassLoader.j
> ava:205)
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:3
> 21)
> at
> sun.misc.Launcher$AppClassLoader.loadClass(Launche
> r.java:294)
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:2
> 66)
> Could not find the main class: hamsphere.jar.
> Program will exit.
>
> Also rightclicking jarfile and selecting open
> with java didnt open it.
> $ java -version
> java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.8)
> (6b20-1.9.8-0ubuntu1~10.10.1)
> OpenJDK 64-Bit Server VM (build 19.0-b09, mixed
> mode)
> Help would be appreciated.
> OH2GUF
Sorry, only registered users may post in this forum.

Click here to login