I have seen posts from other people with the same problem but no answers have been posted so far. So I am reposting and hopefully some Nokia or Symbian support people ever read this message board, probably not.
I installed the Symbian SDK for Personal Java for the Nokia Communicator on my Windows XP. Btw, the installation failed twice because it couldn't execute a remote procedure call during
the installation (I guess some Symbian server was down) - that's ridiculous, Symbian should rethink their installation strategy, seriously.
The third time it installed fine and now I am trying to run the Hello World example that comes with the SDK.
That's where I get java.lang.noClassDefFoundError
my EPOCROOT path is \Symbian\6.0\NokiaJava as it should be. Apparently, EPOCROOT\erj gets mapped to the J: drive, which is supposedly the virtual path for the emulator, so that a directory Hello created at EPOCROOT\erj can be addressed with J:/Hello or possibly J:\Hello, I tried both for the heck of it.
So I copied the Hello.java from Symbian's QuickStart manual and compiled it. Then I ran:
c:\Symbian\6.0\NokiaJava\Epoc32\Release\wins\urel\pjava -cp J:/Hello Hello
with the result:
I also tried
pjava -v -classpath
and all the java classes in classes.zip get loaded, but it still doesn't find the Hello.class
I have seen two other posts describing the same problem.
Posted by A. Wallner, email@example.com
on April 25, 2002 at 21:08