Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-03-2007, 06:03 AM   #1
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
Installing Cafe Pilot java error

Hi thanks for responding to my post on linux internet cafe softwares.

Now i found Cafe pilot both under linux and windows but when i try to install the linux version after unzipping :

Exception in thread "main" java.lang.NoClassDefFoundError: CafePilot_Server.jar
Caused by: java.lang.ClassNotFoundException: CafePilot_Server.jar not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/root/CafePilot_Server.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at gnu.gcj.runtime.SystemClassLoader.findClass(
   at java.lang.ClassLoader.loadClass(
   at java.lang.ClassLoader.loadClass(
Am really not all conversant with java and i was wondering if anyone in the forum can help me understand what the error is all about and how to fix it.

Old 12-03-2007, 08:30 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Every time you run a Java program, the java executable is called with the name of a class containing the program's main() method.
java then looks through each entry on the classpath to find this "class" (which may be in a .class file or part of a .jar archive file), which it can then run.

java.lang.ClassNotFoundException: means that the class couldn't be found. So it looks like your classpath isn't set up properly.

try this:
This will add the current directory (.) to the classpath. This is included by default in Windows, but not in Linux, so it could well be your problem. If you are running the installer from a GUI, then you can add this to your .bashrc file in your home directory (note the period), and then log out and log back in.

You should then be able to run the installer.

If that still doesn't work, please post the results of this command:
Also, it may help to know the commands you are using to run the installer.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Made a HUGE ERROR with ROOT installing JAVA bettyhills Linux - Software 3 08-06-2007 07:23 PM
error installing java sdk on debian packinNoVa Debian 2 02-07-2006 08:26 AM
Error installing java1_4_2 and evolution pilot Drewer SUSE / openSUSE 4 01-21-2006 08:26 PM
dirname error when installing Java JRE jrdioko Linux - Software 0 05-20-2005 06:35 PM
problems while installing pilot-link TheSpork Linux - Software 6 06-18-2004 06:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration