Posted on May 11, 2011 by pandazen
I’ve installed previous versions of jdk1.6.0_17, and then after installing netbeans 7, I upgrade jdk to version jdk1.6.0_25.
Now, everytime I start Netbeans, it always show me this message :
Cannot locate java installation in specified jdkhome:
Do you want to try to use default version?
If I click “Yes”, the next time Netbeans started, the same message appear.
So to remove this, I change “netbeans.conf” in “C:\Program Files\NetBeans 7.0\etc”.
Change “netbeans_jdkhome” like this :
then your Netbeans run as normal. ^_^
Filed under: java | Tagged: netbeans | 9 Comments »
Posted on December 23, 2009 by pandazen
I need to open two projects, so I can learn from demo project and to develop my new project. But when I click Netbeans shortcut for the second times, Netbeans not display as another instance/window. To overcome this,
1. Click Netbeans menu, “Help” | “About”, look for “Userdir” parameter to see user directory.
2. Create another user directory.
3. Copy the first Netbeans shorcut and paste it as second Netbeans shortcut.
4. Right click the second Netbeans shortcut, choose “Properties”.
5. See the field “Target”, the value of mine like this “C:\Program Files\NetBeans 6.7.1\bin\netbeans.exe”
6. Add Netbeans command line switch “–userdir “, so the value of “Target” field become like this
"C:\Program Files\NetBeans 6.7.1\bin\netbeans.exe" --userdir C:\Users\wi\.netbeans\second
Filed under: java | Tagged: netbeans | 2 Comments »
Posted on December 9, 2009 by pandazen
When i start Netbeans 6.7.1, i had a very slow to start using it. I see at status bar, that Netbeans is Transferring repository index : java.net repository. This condition start when i accidentally click Maven Repository Browser.
So, to stop Netbeans transferring repository index when i start up, go to “Tools | Options | Miscellaneous | Maven”, find “Index Update Frequency” and then adjust how often it should be updated.
Filed under: java | Tagged: Maven, netbeans | 5 Comments »
Posted on November 19, 2009 by pandazen
For the first time, when I try to deploy a project using Netbeans, i got this message,
Access to Tomcat server has not been authorized. Set the correct username and password with the “manager” role in the Tomcat customizer in the Server Manager.
See the server log for details.
After I googling, the solution,
– edit the content of C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\conf\tomcat-users.xml file.
-make sure you have role = manager and user that have manager role, like this
<user username=”admin” password=”pwd” roles=”standard,manager”/>
-save the file and restart Tomcat server
Filed under: Apache, java | Tagged: java, netbeans, tomcat | 2 Comments »
Posted on November 12, 2009 by pandazen
When I install Netbeans 6.7.1, i got message “No Compatible JDK Found”. So I cancel, and try to download JDK.
I have a little confuse, why I choose Java-Netbeans IDE Download Bundles, the bundle have no JDK. So whatever, i googling “download jdk”, then I found Java SE Downloads and I choose Java SE Development Kit (JDK).
Now, after I install JDK, there is no message when I install Netbeans.
Filed under: java | Tagged: jdk, netbeans | Leave a comment »