hello, I use macosx snow leopard with netbeans (the last one) and GWT with the plugin GWT4NB. I can't use the debugging from the java code, I have this error:
************************************************************** You must use a 32-bit Java runtime to run GWT Hosted Mode. Leopard: Use the Java 1.5 runtime. Snow Leopard: Use the Java 1.6 runtime and add the -d32 flag. /Users/lolveley/NetBeansProjects/StockWatcher/nbproject/build-gwt.xml: 117: The following error occurred while executing this line: /Users/lolveley/NetBeansProjects/StockWatcher/nbproject/build-gwt.xml: 255: The following error occurred while executing this line: /Users/lolveley/NetBeansProjects/StockWatcher/nbproject/build-gwt.xml: 363: Java returned: 1 BUILD FAILED (total time: 5 seconds) *************************************************************** do you know how I can launch netbeans with the option -d32? I had a look at the netbeans file, and I found in netbeans/content/ resources/netbeans/etc/netbeans.conf the lines : *************************************************************** # ${HOME} will be replaced by JVM user.home system property netbeans_default_userdir="${HOME}/.netbeans/6.7" # Options used by NetBeans launcher by default, can be overridden by explicit # command line switches: netbeans_default_options="-d32 -J-client -J-Xss2m -J-Xms32m -J- XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J- Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true" # Note that a default -Xmx is selected for you automatically. # You can find this value in var/log/messages.log file in your userdir. # The automatically selected value can be overridden by specifying -J- Xmx here # or on the command line. # If you specify the heap size (-Xmx) explicitely, you may also want to enable # Concurrent Mark & Sweep garbage collector. In such case add the following # options to the netbeans_default_options: # -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX: +CMSPermGenSweepingEnabled # (see http://wiki.netbeans.org/wiki/view/FaqGCPauses) # Default location of JDK, can be overridden by using --jdkhome <dir>: netbeans_jdkhome="/Library/Java/Home" # Additional module clusters, using ${path.separator} (';' on Windows or ':' on Unix): #netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/ cluster2" # If you have some problems with detect of proxy settings, you may want to enable # detect the proxy settings provided by JDK5 or higher. # In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options. ************************************************************ I made 2 changes : I added the -d32 option and I specified the java directory. but there is still this error... help me please! olivier. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.