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.
I have downloaded netbeans-8.0.2-cpp-macosx.dmg [1] (74.7 MB with c2ebe805b3b0a68b24c1292b9ccabb00 MD5 checksum) and installed it on Mac OS X 10.8.2. After successful installation I however cannot launch the IDE due to the following error: Error: Could not find or load main class org.netbeans.Main Surprisingly JavaSE and PHP distributions worked like a charm! When I looked into /Applications/NetBeans/NetBeans 8.0.2.app/Contents/Resources/NetBeans/platform/lib folder I see that some files were not unpacked: localhost:lib tester$ ls -l total 6368 -rw-rw-r-- 1 tester admin 150012 Nov 10 21:44 boot.jar.pack drwxrwxr-x 18 tester admin 612 Nov 10 21:44 locale -rwxrwxr-x 1 tester admin 14860 Nov 10 21:02 nbexec -rw-rw-r-- 1 tester admin 429570 Nov 10 21:02 nbexec.dll -rw-rw-r-- 1 tester admin 152064 Nov 10 21:02 nbexec.exe -rw-rw-r-- 1 tester admin 1480851 Nov 10 21:02 nbexec64.dll -rw-rw-r-- 1 tester admin 210432 Nov 10 21:02 nbexec64.exe -rw-rw-r-- 1 tester admin 16380 Nov 10 21:36 org-openide-modules.jar.pack -rw-rw-r-- 1 tester admin 77491 Nov 10 21:02 org-openide-util-lookup.jar.pack -rw-rw-r-- 1 tester admin 715578 Nov 10 21:35 org-openide-util.jar.pack This is my Java configuration: localhost:lib tester$ /usr/libexec/java_home -V Matching Java Virtual Machines (4): 1.8.0_20, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home 1.8.0, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home 1.6.0_37-b06-434, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 1.6.0_37-b06-434, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home and I use: localhost:lib tester$ java -version java version "1.8.0_20-ea" Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b23) Java HotSpot(TM) 64-Bit Server VM (build 25.20-b22, mixed mode) [1] http://bits.netbeans.org/download/8.0.2/daily/9dad33/2014-11-10_20-27-03/start.html?platform=macosx&lang=en&option=cpp
Jirko, can you please attach installer log? /var/log/install.lpog Thanks
Created attachment 150484 [details] Installation log file
Same here, on my MacBook with Yosemite.
Created attachment 150487 [details] Installation log file
Comment on attachment 150487 [details] Installation log file Interestingly JavaEE distribution can be launched in spite of this message: Nov 14 14:53:01 localhost installd[14501]: ./postinstall: Error: Could not find or load main class org.netbeans.Main
Created attachment 150488 [details] Installation log file for full distribution of 8.0.2 Full distribution can also be launched without problems after installation.
Libor, any comments ?
(In reply to Marian Mirilovic from comment #7) > Libor, any comments ? I'm working on it. There is a bug in the installer script. The jars are not unpacked.
Fix in core-main - http://hg.netbeans.org/core-main/rev/bc41b3df485e Fix in release801 - http://hg.netbeans.org/releases/rev/dac6b693ab13 Please guys, when you will be verifying this fix, please check the content of the installation folder, if there are not pack files together with jars. Thanks
The fix is not the best solution, but it should work and in this situation I consider it the simplest solution.
Integrated into 'main-silver', will be available in build *201411150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bc41b3df485e User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #248643: CND distribution of NetBeans 8.0.2 cannot be launched