All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

Go Back   All About Symbian Forums > General > Development > Symbian Java

 
 
Thread Tools Display Modes

  #1  
Old 19-05-2003, 03:35 PM
Guest
 
Posts: n/a
Emulator denies to start, PLEASE help with settings

Hi all,

Please give me a hand with this problem, I lost 3 days trying to start the emulator supplied with Symbian v7.0 UIQ v2.0 SDK.

I am writing a simple pJava app containing a Hello class (example from SDK documentation), I am compiling it but when I am trying to test it on the emulator, it loads and exits immediately with the following message:


Exception in thread "main" java.lang.NoClassDefFoundError: Hello
---------------------------
Effective classpath is:
.
?:/classes
T:\ext\qawt.jar
T:\ext\util.jar
J:\ext\javaphone.jar
J:/lib/classes.zip

Specified classpath was:

.;?:/classes;?:/ext/*;?:/lib/classes.zip
---------------------------

Any ideas why I get that? Can anybody that has succeeded in running the emulator copy the relative Path and Classpath setting, I think maybe I am missing something there!

Wierdly enough, even the jre -cp . Hello which should test the Hello app in windows doesn't work. Have I scrued my system setup?

Thanx to all folks!
Ads

  #2  
Old 19-05-2003, 07:22 PM
Cruizer Cruizer is offline
Registered User
 
Join Date: Dec 2002
Posts: 33
Cruizer is on a distinguished road
Check out kajetan's pJava setup guide: http://www.kajetan.nu/docs/SymbianSDK.html. I believe it will tell you all you ever wanted to know about the _epoc_drive_j and _epoc_drive_t variables you need to get pJava to work with the emulator.

Regards,

/Cruizer.

  #3  
Old 18-06-2003, 09:33 AM
Guest
 
Posts: n/a
Hi!

I have the same problem. And it still remains after I followed the this doc by Kajetan. I really do not know what's wrong. Any help would be highly appreciated!

  #4  
Old 07-01-2005, 02:02 PM
sakthi
Guest
 
Posts: n/a
Thumbs up problem in executing apps in Emulator

i'm unable to run the pjava App in UIQ Emulator, and finally i found the following is the reason. here i don't know where i have to run the javac -thread command (ie., in which dir tree). valuable suggestions will be appreciated.



"Symbian's PersonalJava runtime environment expects classes compiled into the JDK 1.1 class file format. By default JDKs 1.2.x and 1.3.x compilers produced class files in the JDK 1.1 class file format. However with the arrival of the JDK 1.4.x the default class file format produced by javac compiler is now the 1.2 format. Hence when compiling sources with the JDK1.4.x or later you must explicitly request the 1.1 class file format using the javac -target 1.1 option".


sakthi@elbitec.com
 

Bookmarks

Tags
denies, emulator, settings, start

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 07:55 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy