PC Playground  

Go Back   PC Playground > The Core > Scripting/Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2003, 08:56 AM
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 12
Default Java problems

Anyone have any problems with Java applets? If I upload the .class file and rename it after it is uploaded, to the exact same thing that it is already (which makes no sense) my applet will work. However, the next day I come back and it doesn't work again. I don't get it. Wait...just checked it again, now it works, WTF!!!???
How does it work one day, not the next, and then work again?
Reply With Quote
  #2 (permalink)  
Old 03-01-2003, 12:54 PM
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 12
Default

Now I've got another problem. There is another applet that will not load. Class not found error is what I get.

java.lang.ClassNotFoundException: waterfall
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.securedClassLoad
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run

It makes no sense, because if I open up the file locally on my pc, the applet loads just fine. But after I upload it, I get the class not found error. The class is there, it physically exists, it was uploaded in binary format. What the hell is the damn deal?

You guys can check it out:
http://omwresearch.pcplayground.com/wat ... rfall.html
Reply With Quote
  #3 (permalink)  
Old 03-22-2003, 11:53 PM
Administrator
 
Join Date: Jan 2003
Posts: 1,350
Default

I know nothing about javascript and classes. But do you think it is a server error? or a scripting/coding error?
Reply With Quote
  #4 (permalink)  
Old 03-23-2003, 12:22 AM
Member
 
Join Date: Jan 2003
Posts: 77
Send a message via Yahoo to Rotolife
Default

inm not sure how it is in java scripts, but i had similar not found probs with php and html. The solution i found was use teh complete url for paths

eg. "http://yourname.pcplayground.com/your dir/your file.html"
instead of just "./your dir/your file.html"

Might be work for you too. Who knows.
Reply With Quote
  #5 (permalink)  
Old 03-23-2003, 03:38 PM
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 12
Default

hmm, I tried the full path but that didn't work either. After I uploaded the .class file, I renamed it to what it was before, exactly the same, and after I did that, it worked. It doesn't make much sense to me. So, one of my applets is working properly. But, I still had problems with the waterfall class even after I renamed it, so I just have a hyperlink to a static HTML page on tripod now where the applet works fine. Its gotta be some sort of issue with PHP. Who knows?!
Reply With Quote
  #6 (permalink)  
Old 03-23-2003, 04:33 PM
Administrator
 
Join Date: Jan 2003
Posts: 1,350
Default

If it is a java applet, I doubt it has anything to do with PHP.
Reply With Quote
  #7 (permalink)  
Old 03-25-2003, 05:03 PM
Junior Member
 
Join Date: Feb 2003
Location: USA
Posts: 12
Default

Well, I wrote the applet and everything worked fine on my personal PC. Then I uploaded it to my web space here and it didn't work. However, I uploaded it to my webspace on Tripod and it worked fine. I don't understand what the problem is at all.
Reply With Quote
  #8 (permalink)  
Old 03-26-2003, 03:02 AM
Member
 
Join Date: Jan 2003
Posts: 77
Send a message via Yahoo to Rotolife
Default

Maybe something to do with thier apache config.
Reply With Quote
  #9 (permalink)  
Old 04-04-2003, 10:05 PM
Senior Member
 
Join Date: Mar 2003
Location: USA
Posts: 153
Default

maybe Tommy does not offer java support. Does he I forgot?
I did not know if he did or not.

Sorry if this is off topic.
Reply With Quote
  #10 (permalink)  
Old 04-05-2003, 04:29 AM
Administrator
 
Join Date: Jan 2003
Posts: 1,350
Default

Since the server is linux, we do not support JSP.

Not too sure about the consequences....
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:31 PM.