July 31, 2010, 03:31:36 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: bookmark Fibsboard to the front page for all the News http://www.fibsboard.com
 
  Home   Forum   Chat links PLAY NOW! Help Search Calendar Login Register   **
Pages: [1]   Go Down
  Print  
Author Topic: Exception when trying to install JavaFIBS 2001 1009 on Kubuntu 6.10  (Read 1998 times)
0 Members and 1 Guest are viewing this topic.
Tygger2512
Newbie
*
Offline Offline

Posts: 2


« on: November 22, 2006, 03:58:02 AM »

Hi,

I've just downloaded the Zip file for JavaFIBS2001 and extracted it into my home folder.  I changed to the JavaFIBS2001 directory in a Konsole window and executed the following command:

Code:
java -classpath JavaFIBS.jar JavaFIBS2001

This is the error message that I got:

Code:
Exception in thread "main" java.lang.NoClassDefFoundError: JavaFIBS2001

I have JRE 1.5 installed.  Please could you advise me on what I need to do to fix this problem?

Regards,
Andy Mason
Logged
burper
Fibsboarder ++
****
Offline Offline

Posts: 837



« Reply #1 on: November 22, 2006, 07:47:11 PM »

try -jar instead of -classpath
Logged
FIBS Board backgammon forum
« Reply #1 on: November 22, 2006, 07:47:11 PM »

 Logged
Tygger2512
Newbie
*
Offline Offline

Posts: 2


« Reply #2 on: December 02, 2006, 07:13:16 PM »

Thanks for the tip Burper.  With a little tweaking I got an icon on the desktop for my wife so she can run it without going to the command line.  Here's what I did:

JavaFIBS 2001 files are located in ~/JavaFIBS2001

In Kate, I created a file in the JavaFIBS2001 directory named javafibs.sh which contained these commands:
Code:
cd ~/JavaFIBS2001
java -jar JavaFIBS_1009_J15.jar JavaFIBS2001

I made ~/JavaFIBS2001/javafibs.sh executable using chmod +x and then created a link to application on the desktop, which has a command of

Code:
~/JavaFIBS2001/javafibs.sh

and a work path of

Code:
~/JavaFIBS2001/

I went into the advanced options and checked the Run in Terminal box, changed the icon to use the one for KBackgammon, and voila, she has access to JavaFIBS 2001 from an icon on her desktop.

Hope this helps anyone else like me who's new to Linux and trying to figure this stuff out.

Thanks one again for your help, Burper.

Regards,
Andy.
« Last Edit: December 02, 2006, 07:21:32 PM by Tygger2512 » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

TinyPortal 1.0 beta 5-1

Please Donate just a wee amount by clicking here or we will have to stick more bloody small ads here again...thx :) Fresh Air
Terms & Conditions | Privacy policy
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Sitemap Cornify Valid XHTML 1.0! Valid CSS!
Page created in 0.542 seconds with 35 queries. (Pretty URLs adds 0.016s, 3q)