Author Topic: trivial infuriating problem  (Read 3331 times)

jamesannan

  • Full Member
  • ***
  • Posts: 119
    • View Profile
trivial infuriating problem
« on: July 21, 2004, 09:41:19 am »
I had the Kopi java thing working fine last week...then reinstalled everything to a SD card. Grrrrrrrr...

And now I try to compile and run a trivial applet (ie evm -appletviewer /mnt/card/java/HelloWorld.html where the html file just contains a link to the class file), and get an error like

FileNotFoundException:/mnt/card/java/HelloWorld/class.class

Of course the class file is actually just /mnt/card/java/HelloWorld.class, so why is it looking for this nonexistent file? Obbviously I have something wrong in a pathname somewhere, but I'm buggered if I can work it out. Any ideas?

James

javalori

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • http://www.javadragon.com
trivial infuriating problem
« Reply #1 on: July 21, 2004, 11:09:05 am »
Can you post the reference to the class file that appears in the HTML file?  It's difficult to say, without seeing that

jamesannan

  • Full Member
  • ***
  • Posts: 119
    • View Profile
trivial infuriating problem
« Reply #2 on: July 21, 2004, 05:19:59 pm »
Ah....

I had the ref to "HelloWorld.class" (and had tried all combinations of full/relative pathname, with/wthout extension) but had not noticed that it should have been HelloWorldApplet!

Oops!

thanks for the hint..

James