This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Everytime I try to run a Java applet, it is saying that "Start: Applet is not initialized". Also, my java applications are not launching either. I tested my programs using another IDE and they're working so I'm not sure why it is not working on NetBeans 4.1 I uninstalled the IDE and I deleted all directories associated with Netbeans, including the user dir. After that, I did a clean installation of Netbeans 4.1 and went through the installation (everything installed in default dirs) and it did see the version of JAVA (J2SE 5.0). I went through the usual "creating a project" (HowtoProgram) steps and renamed the default package of the project to HowToProgam. After that, I copy and paste a working application into the IDE and saved it under a name. Then I tried both "build -> build main project and run -> run file (since it was just one file)" step and just "run -> run file". But the application doesn't launch in netbeans as it does in other IDE's and via windows command prompt. Here is version of Netbeans I'm using and the output I'm getting. Specs: product version Netbeans 4.1 (Build 200505031930) IDE versioning: IDE/1 spec=5.9.1 impl=200505031930 Java 1.5.0_04 init: deps-jar: Compiling 1 source file to C:\Documents and Settings\CaribbeanBoy\My Documents\NetBeans_projects\HowToProgram\build\classes compile-single: run-single: java.lang.NoClassDefFoundError: HowToProgram/TimeTest1 Exception in thread "main" Java Result: 1 BUILD SUCCESSFUL (total time: 4 seconds) Im pretty sure that my class path is setup correctly, but maybe im missing something.
It is most probably general problem if it fails for all java application. Did you try run simple 'HelloWorld' java project?
Yes. I've tried using both system.out.println and joption.pane but I'm still getting the "java.lang.NoClassDefFoundError: ...Exception in thread "main"...Java Result: 1" And for the applet viewer, i'm still getting the "applet is not initialized" message.
Could you please attach the messages.log. It can be found in your userdir/var/log/messages.log.
Created attachment 23145 [details] Here's My Message Log.
IMHO it is openide.loaders problem. Feel free to reassign to other component.
Hi caribbeanboy, I am sorry but I am absolutely lost, probably there is more than just one problem : 1. Your stack traces show that the problem is in one of your module (plug-in) integrated to NetBeans), looks like there has been an module and it added some actions to menu/toolbars or set shortcuts, this module isn't available after the restart and that's the reason of all NoClassDefFoundError in your log file. 2. We've tried to create new JApplet (HelloWorld) and it works without any problems. Probably we missed something, so if you can provide us steps to reproduce from the scratch (start NetBeans with new userdir and create new JApplet / Hello World or anything else) we would be very thankful. So thank you for your time and please reopen this issue after providing more informations. Thanks in advance.