Click here to Skip to main content
15,914,013 members
Home / Discussions / Java
   

Java

 
GeneralRe: Media folder problem in Jar file Pin
jschell3-Jan-12 10:36
jschell3-Jan-12 10:36 
GeneralRe: Media folder problem in Jar file Pin
loctrice3-Jan-12 11:00
professionalloctrice3-Jan-12 11:00 
QuestionUnOrdered SET Pin
saadullah Bhutto21-Dec-11 4:39
saadullah Bhutto21-Dec-11 4:39 
AnswerRe: UnOrdered SET Pin
Luc Pattyn21-Dec-11 5:21
sitebuilderLuc Pattyn21-Dec-11 5:21 
AnswerRe: UnOrdered SET Pin
TorstenH.21-Dec-11 20:50
TorstenH.21-Dec-11 20:50 
AnswerRe: UnOrdered SET Pin
jschell26-Dec-11 8:54
jschell26-Dec-11 8:54 
AnswerRe: UnOrdered SET Pin
bennis9827-Dec-11 15:21
bennis9827-Dec-11 15:21 
Questionjava.lang.ClassNotFoundException Pin
arthur89kim18-Dec-11 16:44
arthur89kim18-Dec-11 16:44 
I have created a Java game (183MB for .jar file) and can be played on local (offline) through .html and it works perfectly fine. However, once it is allocated into the server in my University, it does not run as expected and it projects the following exception:

load: class wildwildwest.applet_selection_screen not found.
java.lang.ClassNotFoundException: wildwildwest.applet_selection_screen
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: wildwildwest.applet_selection_screen


What causes the above problem and what solution can be proposed to solve it? Smile | :)

By the way, the .html code for the game is as followed is as following:
XML
<HTML>
<HEAD>
   <TITLE>Wild Wild West</TITLE>
</HEAD>
<BODY bgcolor="#000000">

<font color="#ffffff" face="Curlz MT">

<center>
<H3><HR WIDTH="100%">Wild Wild West<HR WIDTH="100%"></H3>

<P>
<APPLET CODE="wildwildwest.applet_selection_screen" archive="Wild Wild West.jar" width=800 height=600></APPLET>
</P>

</center>

</font>
</BODY>
</HTML>

AnswerRe: java.lang.ClassNotFoundException Pin
Nagy Vilmos18-Dec-11 22:52
professionalNagy Vilmos18-Dec-11 22:52 
GeneralRe: java.lang.ClassNotFoundException Pin
arthur89kim19-Dec-11 11:38
arthur89kim19-Dec-11 11:38 
GeneralRe: java.lang.ClassNotFoundException Pin
Nagy Vilmos19-Dec-11 22:54
professionalNagy Vilmos19-Dec-11 22:54 
GeneralRe: java.lang.ClassNotFoundException Pin
TorstenH.19-Dec-11 23:42
TorstenH.19-Dec-11 23:42 
GeneralRe: java.lang.ClassNotFoundException Pin
arthur89kim22-Dec-11 14:10
arthur89kim22-Dec-11 14:10 
GeneralRe: java.lang.ClassNotFoundException Pin
jschell23-Dec-11 10:06
jschell23-Dec-11 10:06 
AnswerRe: java.lang.ClassNotFoundException Pin
Oscar020-Dec-11 14:08
Oscar020-Dec-11 14:08 
GeneralRe: java.lang.ClassNotFoundException Pin
arthur89kim22-Dec-11 14:07
arthur89kim22-Dec-11 14:07 
AnswerRe: java.lang.ClassNotFoundException Pin
jschell22-Dec-11 8:45
jschell22-Dec-11 8:45 
GeneralRe: java.lang.ClassNotFoundException Pin
arthur89kim22-Dec-11 14:09
arthur89kim22-Dec-11 14:09 
QuestioncreateBranchElement Pin
prithaa16-Dec-11 21:39
prithaa16-Dec-11 21:39 
AnswerRe: createBranchElement Pin
TorstenH.19-Dec-11 22:30
TorstenH.19-Dec-11 22:30 
AnswerRe: createBranchElement Pin
AprNgp22-Dec-11 17:46
AprNgp22-Dec-11 17:46 
QuestionHow to write a Timer program in java Pin
VickyVicki15-Dec-11 6:23
VickyVicki15-Dec-11 6:23 
AnswerRe: How to write a Timer program in java Pin
Richard MacCutchan15-Dec-11 6:34
mveRichard MacCutchan15-Dec-11 6:34 
AnswerRe: How to write a Timer program in java Pin
TorstenH.15-Dec-11 19:25
TorstenH.15-Dec-11 19:25 
GeneralRe: How to write a Timer program in java Pin
Richard MacCutchan15-Dec-11 22:32
mveRichard MacCutchan15-Dec-11 22:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.