Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited


Everything posted by sampah03

  1. Native build Netbeans IDE using Excelsior JET

    The first time I run it using xjava takes about 10 minutes for the splash screen, then I try to use all the common features (new project, open project, compile, debug, edit, gui designer, etc) and it runs slowly (I understand this). Then I ran with -Xcompile for about 5 hours. The resulting org.netbeans.Main.exe is 13 KB.
  2. Native build Netbeans IDE using Excelsior JET

    I tried today using netbeans 5.5, using xjava then xjava -Xcompile. After 5 hours of compilation and 1.5 GB consumed from my hardisk for jitcache, finally it finished with no error. I got a org.netbeans.Main.exe file and I could run it. However the exe file is super slow, it takes more than 10 minutes just for the netbeans startup screen. The main purpose of compiling netbeans is to make it faster. What should I do?
  3. Compile Netbeans

    How to compile Netbeans (5.0 beta preferred)? I tried to compile using 3 classpaths: platform6/lib/*.jar but it cannot run, the error message is: Exception in thread "main" java.lang.ClassNotFoundException: org.netbeans.core.s tartup.Main at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) Seems like it has dynamic class loading etc. Can anyone help me? I think it's very good to have compiled Netbeans, since it's very slow and sluggish.
  4. Compile Netbeans

    Hi, I was very happy yesterday when I opened this forum and found that you have released a new version that fixes the problem. Today I eagerly tried to compile netbeans 5.0 FINAL (not beta anymore) using xjava, with command line: xjava -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -Xms32m -Xmx128m -Dnetbeans.osenv=d:\syuh\nbenv2 -Dnetbeans.osenv.nullsep=true -Djdk.home=d:\prog\jdk -Dnetbeans.home=D:\prog\netbeans5\platform6 -Dnetbeans.dirs=D:\prog\netbeans5\nb5.0;D:\prog\netbeans5\ide6;D:\prog\netbeans5\enterprise2;D:\prog\netbeans5\harness -Dnetbeans.user="C:\Documents and Settings\Owner\.netbeans\5.0" -Dnetbeans.system_http_proxy=DIRECT -Dsun.awt.keepWorkingSetOnMinimize=true -cp D:\prog\netbeans5\platform6\lib\boot.jar;D:\prog\netbeans5\platform6\lib\org-openide-modules.jar;D:\prog\netbeans5\platform6\lib\org-openide-util.jar;d:\prog\jdk\lib\dt.jar;d:\prog\jdk\lib\tools.jar org/netbeans/Main --branding nb Netbeans splash screen showed, then I waited about one hour before I realized that the CPU usage had dropped to 0%, and there were about 10500 files in jitcache directory. I pressed ctrl+c to end the program. Then I ran it using -Xcompile, and I got an error. The last lines of the output was: 9464/10409: org.netbeans.editor.ext.html.dtd.DTDParser$1__0.class 9465/10409: org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl__0.class * [ *** F432 ] *? file close error: .\sym/org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl__0.sym Compilation failed. My CPU is Pentium 4 M (single threading), Windows XP Home without any SP, java version "1.5.0_01" Java 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08) Java HotSpot Client VM (build 1.5.0_01-b08, mixed mode). I would greatly appreciate it if you could make a tutorial on compiling Netbeans in addition of compiling Eclipse which you already had. Thank you.
  5. Compile Netbeans

    Thanks very much for your investigation, I hope you can fix the problem soon. BTW, my processor is a single Pentium 4 mobile without Hyperthreading. Please let me know if you have been successful in compiling NetBeans and please let me know how to do it correctly. Thanks again!
  6. Compile Netbeans

    I had tried both 5.0 beta and 4.1. The one I described above is for 5.0beta. I tried once again using 4.1, after some minutes, the CPU stays at 100% but no new files at jitcache is produced. Using filemon, I found that xjava is writing to $(netbeans home dir)/var/log/messages.log, a lot of message like this: java.lang.InternalError: JIT ERROR: (RT) couldn't generate DLL name at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) at java.lang.Void.<unknown>(Unknown Source) , and it repeats even after I waited 15 minutes with 100% CPU. What can I do about that?
  7. Compile Netbeans

    After I tried using xjava, Netbeans runs (the splash screen shows), but after having about 90 MB of files in the jitcache directory, nothing is happened. The splash screen still repaints, saying "Loading modules". But the CPU usage is 0% and nothing can be done. Any other method? or something to do?
  8. Compile Netbeans

    OK, done. The command line is: java "-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade" "-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense" "-Xms32m" "-Xmx128m" "-XX:PermSize=32m" "-XX:MaxPermSize=96m" "-ea" "-Dapple.laf.useScreenMenuBar=true" "-Dnetbeans.osenv=d:\syuh\nbenv2" "-Dnetbeans.osenv.nullsep=true" "-Djdk.home=D:\prog\jdk" "-Dnetbeans.home=D:\prog\netbeans5\platform6" "-Dnetbeans.dirs=D:\prog\netbeans5\nb5.0;D:\prog\netbeans5\ide6;D:\prog\netbeans5\enterprise2;D:\prog\netbeans5\harness" "-Dnetbeans.user=C:\Documents and Settings\Owner\.netbeans\5.0beta" "-Dsun.awt.keepWorkingSetOnMinimize=true" -cp "D:\prog\netbeans5\platform6\lib\boot.jar;D:\prog\netbeans5\platform6\lib\org-openide-modules.jar;D:\prog\netbeans5\platform6\lib\org-openide-util.jar;D:\prog\jdk\lib\dt.jar;D:\prog\jdk\lib\tools.jar" org/netbeans/Main "--branding" "nb" where D:\prog\netbeans5 is where I installed netbeans to. The next step?