Results 1 to 3 of 3
hi friends
I have developed a game in java which is based on the popular sudoku puzzles.
preview
U can view more information about the game
here
Now the problem ...
- 10-01-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 10
free sudoku in linux - help me
hi friends
I have developed a game in java which is based on the popular sudoku puzzles.
preview

U can view more information about the game
here
Now the problem is that the game runs only in windows.
The main game file is an executable jar file.So double click on the file opens the game.
But in linux the jar files gets opened and shows the archived class files.
So plz help me ,how can i make the game run in linux ?
I cannot use applet bcoz the game interacts with the local files for saving records.
Moreover the java files are not compiling in linux.
I have recently installed FC4.When i try to compile java files on terminal,it gives the following warning (in case of inheritance)
eg.
class now extends JFrame
{
,.....
.....
}
$javac now.java
Warning: The serializable class now does not declare a static final serialVersionUID field of type long
However the same file works perfectly well when run on Windows.The JVM on FC4 is 1.4.2 and even though i have installed the latest version of gcc(4.0.1)the problem still persists
Plz help me....
- 10-08-2005 #2
can u not run it with:
obviously changing "filename.jar" to the relevent filenameCode:java -jar filename.jar
"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 10-08-2005 #3Linux Engineer
- Join Date
- Apr 2005
- Location
- Belgium
- Posts
- 1,429
It took me also some time to figure it out, but that's the way it should be done
. Java is cross-platform, remember
.
** Registered Linux User # 393717 and proud of it
** Check out www.zenwalk.org
** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **


Reply With Quote
