FrontlineSMS

FrontlineSMS allows you to text message with large groups of people anywhere there is a mobile signal.

I''ve run into the following problem when trying to fire up Frontline
after install for the first time on my Ubuntu (8.04) Laptop.

"class java.lang.NoClassDefFoundError :: gnu/io/PortInUseException
at net.frontlinesms.FrontlineSMS.(Unknown Source)
at net.frontlinesms.DesktopLauncher.main(Unknown Source)
Caused by: class java.lang.ClassNotFoundException ::
gnu.io.PortInUseException
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:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
at net.frontlinesms.FrontlineSMS.(Unknown Source)
at net.frontlinesms.DesktopLauncher.main(Unknown Source)
"

and in the console I got
"jfk@x-box:~/Desktop/FrontlineSMS$ java -jar FrontlineSMS.jar
log4j:WARN No appenders could be found for logger
(net.frontlinesms.resources.ResourceUtils).
log4j:WARN Please initialize the log4j system properly."

also my java-home is /usr/lib/jvm/java-6-sun-1.6.0.07

any idea what to do to fix this...

Thank you.

Tags: java, ubuntu

Views: 45

Reply to This

Replies to This Discussion

Hi Jesse

There are a couple of fixes in the Forum here for Ubuntu issues.

Go to "Forum" and search for "Ubuntu" and see if any of those help. Let us know how you get on!

Ken
Hi Jesse,

It looks like one of these problems:
1. FrontlineSMS can't find the library RXTXcomm.jar
2. librxtxSerial.so is not installed in the correct location

Could you confirm that you fully followed the installation instructions? You should be able to find RXTXcomm.jar at /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/ext and librxtxSerial.so at /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/i386

Also, it's worth checking that this is definitely the JVM being used - often you can have more than one version installed. If you run the following command from the terminal, you should be informed of your Java version:
java -version

Cheers,

Alex
Ah wrong JVM..all sorted out! Thanks

RSS

Photos

  • Add Photos
  • View All

© 2013   Created by kiwanja.net.   Powered by

Badges  |  Report an Issue  |  Terms of Service