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

  #1  
Old 30-04-2003, 02:56 PM
vandoor vandoor is offline
Registered User
 
Join Date: Apr 2003
Posts: 13
vandoor is on a distinguished road
uiq emulator problem

Hello, i ve some problems when i want launch uiq emulator.
it doesn't find any class, but my .jar is in the classpath.
my jar is in <dir-symbian>\epoc32\java (virtual drive j ).
my class Hello isn't in a package, the command i type in is following :

pjava_g -cd j:\example -cp j:\Hello.jar Hello

and i ve a java.lang.ClassNotFoundException

thanks for rescue me ;-)

+++

vandoor

  #2  
Old 01-05-2003, 12:21 PM
Guest
 
Posts: n/a
i ve resolved my problem, i ve install jdk 1.1.1.8 and i ve put my class in a package...

+++

  #3  
Old 01-05-2003, 03:20 PM
orange.peel orange.peel is offline
Registered User
 
Join Date: Apr 2003
Posts: 32
orange.peel is on a distinguished road
I get the same error message as you did.

Can you give simple instructions on how you managed to solve it?

  #4  
Old 02-05-2003, 07:46 AM
orange.peel orange.peel is offline
Registered User
 
Join Date: Apr 2003
Posts: 32
orange.peel is on a distinguished road
PLEASE HELP!

I'm pulling my hair out here!

No matter what I try I always get a NoClassDefFound error!
I am using the j2sdk1.4.0_02, does this make any difference???
It compiles fine and makes the package fine too.

Also, how do you default the emulator to be a P800?

  #5  
Old 02-05-2003, 03:03 PM
orange.peel orange.peel is offline
Registered User
 
Join Date: Apr 2003
Posts: 32
orange.peel is on a distinguished road
OK, I'm now in a bigger mess!
I can run the example apps in java but not with the emulator.

When I run pjava i get the following message...

Unable to initialize threads cannot find class java/lang/Thread

I am running the j2sdk1.4.1_02 and runtime of the same version.

Anyone got any clues???

  #6  
Old 05-05-2003, 06:57 AM
vandoor vandoor is offline
Registered User
 
Join Date: Apr 2003
Posts: 13
vandoor is on a distinguished road
for the java/lang/thread problem
you should initialyze an environement variable
_epoc_drive_j = <symbian dir>\epoc32\java

and the emulator will start !!

+++
Ads

  #7  
Old 05-05-2003, 07:00 AM
vandoor vandoor is offline
Registered User
 
Join Date: Apr 2003
Posts: 13
vandoor is on a distinguished road
for problem java.lang.NoClassDefFounfError
you can put the jar file in the directory
<symbian dir>/epoc32/java/ext
the jar will be automatically in the emulator classpath.

so, if the error persists you can put your class in a package.

there are two way that i found toi resolve the problem

ps : sorry for my english ;-)

+++

vandoor

  #8  
Old 31-01-2005, 11:26 AM
prasad
Guest
 
Posts: n/a
Smile

if ur using jdk1.4.2 just compile the application in jdk1.1 class format
e.g. javac -target 1.1 -cp......... myapp.java

it will work

e'joy
Prasad
 

Bookmarks

Tags
emulator, problem, uiq

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 03:41 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