You Are Here:

Community: Developer Discussion Boards

#1 Old Could not create JVM - 2002-07-30, 13:55

Join Date: Mar 2003
Posts: 2
Aithentblr
Offline
Registered User
Hi,

In the 9210sdk emulator,when i run sample application it says..
could not create the JVM .what could be the probable reason?

If anybody has faced this problem and found the solution, pls share it

thanx in advance

Siva

#2 Old RE: Could not create JVM - 2002-08-22, 23:37

Join Date: Mar 2003
Posts: 2
jareich
Offline
Registered User
I had the exact same problem and spent half the day trying to get HelloWorld running. It was a great way to spend four hours.

Here is what I learned:

1) Running on Windows 2000 is fine.

I was worried when I saw the "unsupported" message during the SDK installation, but now that it works, I realize that the platform wasn't an issue.

2) I cannot run the java application directly from the command line.

Example: > <your-SDK-path>\epoc32\release\wins\urel\pjava -cp j:\Hello\helloapp.jar Hello. The documentation has tons of instances of this and IT DOESN'T WORK. All that happens is you get the Emulator. If you try to run the application from Extra, you receive the "Cannot create java virtual machine" error.

3) The emulator must load the application automatically.

That means following the directions to create the necessary AIF files and correct directories. Make sure you set the output files to the right directory or it won't work. Once you do this, simply run the emulator by itself. In the Extra section, you should see the application, and it will run.

4) You MUST install Perl.

I didn't install Perl at first. When I tried running the AIF Builder, it said to check value the EPOCROOT and make sure the executable was accessible. This suggestion is completely useless. Once I installed Perl from the SDK setup, everything ran fine.

Hope this helps,

Jesse
  « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d5632X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZjavaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxjavaX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ