Install the Java Runtime from Sun (sun-java6-bin), and then do a "sudo update-alternatives --config java" and choose the one from Sun.
Happy coding :) On Wed, Nov 26, 2008 at 10:06 PM, Christopher Stamper < [EMAIL PROTECTED]> wrote: > > > On Wed, Nov 26, 2008 at 3:01 PM, help <[EMAIL PROTECTED]> wrote: > >> >> Hi >> I am new for the Netbeans mobility package. I want to learn J2MW. So I >> installed the Netbeans IDE 6.01 and tested the samples given there. >> But whenever I run the sample programs I get the following message. >> Its fine while compiling but during the run time it gave this problem. >> Can anyone help me. >> Here is the log of the error message. >> >> pre-init: >> pre-load-properties: >> exists.config.active: >> exists.netbeans.user: >> exists.user.properties.file: >> load-properties: >> exists.platform.active: >> exists.platform.configuration: >> exists.platform.profile: >> basic-init: >> cldc-pre-init: >> cldc-init: >> cdc-init: >> ricoh-pre-init: >> ricoh-init: >> semc-pre-init: >> semc-init: >> savaje-pre-init: >> savaje-init: >> nokiaS80-pre-init: >> nokiaS80-init: >> nsicom-pre-init: >> nsicom-init: >> post-init: >> init: >> conditional-clean-init: >> conditional-clean: >> deps-jar: >> pre-preprocess: >> do-preprocess: >> Pre-processing 0 file(s) into /home/rajan/NetBeansProjects/SunSamples- >> Demos1/build/preprocessed directory. >> post-preprocess: >> preprocess: >> pre-compile: >> extract-libs: >> do-compile: >> post-compile: >> compile: >> pre-obfuscate: >> proguard-init: >> skip-obfuscation: >> proguard: >> post-obfuscate: >> obfuscate: >> pre-preverify: >> do-preverify: >> post-preverify: >> preverify: >> pre-jar: >> set-password-init: >> set-keystore-password: >> set-alias-password: >> set-password: >> create-jad: >> add-configuration: >> add-profile: >> do-extra-libs: >> nokiaS80-prepare-j9: >> nokiaS80-prepare-manifest: >> nokiaS80-prepare-manifest-no-icon: >> nokiaS80-create-manifest: >> semc-build-j9: >> do-jar: >> nsicom-create-manifest: >> do-jar-no-manifest: >> update-jad: >> Updating application descriptor: /home/rajan/NetBeansProjects/ >> SunSamples-Demos1/dist/SunSamples-Demos1.jad >> Generated "/home/rajan/NetBeansProjects/SunSamples-Demos1/dist/ >> SunSamples-Demos1.jar" is 117360 bytes. >> ricoh-init-dalp: >> ricoh-add-app-icon: >> ricoh-build-dalp-with-icon: >> ricoh-build-dalp-without-icon: >> ricoh-build-dalp: >> savaje-prepare-icon: >> savaje-build-jnlp: >> post-jar: >> jar: >> pre-run: >> cldc-run: >> Copying 1 file to /home/rajan/NetBeansProjects/SunSamples-Demos1/dist/ >> nbrun25478 >> Copying 1 file to /home/rajan/NetBeansProjects/SunSamples-Demos1/dist/ >> nbrun25478 >> Jad URL for OTA execution: >> >> http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/home/rajan/NetBeansProjects/SunSamples-Demos1/dist//SunSamples-Demos1.jad >> Starting emulator in execution mode >> >> >> Unrecognized option: -cp >> lt_dlsym failed: /opt/jdk1.6.0_10/jre/lib/i386/client/libjvm.so: >> undefined symbol: vm_run >> Aborted >> >> >> ricoh-run: >> semc-icon-assembly: >> semc-ppro-emulator: >> semc-do-run: >> semc-run: >> savaje-run: >> nokiaS80-run: >> nsicom-run: >> run: >> BUILD SUCCESSFUL (total time: 2 seconds) > > > I'm not much for Java, but BUILD SUCCESSFUL sounds good to me... ;-) Sure > there's a problem? > > Eclipse is a lot easier to setup, but may not be what you want. Check it > out: http://www.eclipse.org > > > -- > Christopher Stamper > > Email: [EMAIL PROTECTED] > Web: http://tinyurl.com/2ooncg > gTalk: http://tinyurl.com/6e359r > Skype: cdstamper > > > > > -- Woody Allen - "I will not eat oysters. I want my food dead. Not sick. Not wounded. Dead." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ubuntu Linux" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ubuntulinux?hl=en -~----------~----~----~----~------~----~------~--~---
