In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you "what matters need to pay attention to in the process of Ubuntu Netbeans development", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what matters need to pay attention to in the process of Ubuntu Netbeans development" this article.
1. The solution of Chinese garbled code of Java program in Ubuntu Netbeans
By default, install the Chinese version of Netbeans under Linux and you will see a lot of small boxes. Go to the Internet or Windows system to copy a font that can display Chinese, such as simsun.ttf, and copy it to javahome/jre/lib/fonts/fallback. Then open netbeans and other software that also uses the java environment, and the problem of the interface box will no longer exist.
2. Netbeans5.5 enterprise pack installation
I tested it under Ubuntu6.10 and 7.04. the graphical installation interface of Netbeans5.5 enterprise pack does not run under JDK1.6, so I switched back to jdk1.5 during installation.
3. Change the default JDK version of the system
Enter the / etc/alternatives directory and run the following command:
Rm java ln-s / usr/lib/j2sdk1.5-sun/bin/java java.
Where "/ usr/lib/j2sdk1.5-sun/bin/java" is the path of the java program in the jdk you want
In addition, you can update and change jdk in the following ways:
Get Sun JDK 6:
Sudo apt-get install sun-java6-jdk
View the list of installed jdk:
Update-java-alternatives-l
Set the default Java:
Sudo update-java-alternatives-s java-1.6.0-sun
4. Right-click the execution terminal
One is:
Add a file to the $HOME/.gnome2/nautilus-scripts directory: Open in terminal, set its permissions to be executable, and then edit its contents as follows:
Gnome-terminal-working-directory=$PWD
After saving, in the directory where you want the terminal to run, right-click Scripts- > Open in terminal to open the terminal, and the starting directory of the terminal is your current directory.
Second:
Install a software package nautilus-open-terminal directly
Sudo apt-get install nautilus-open-terminal
Restart X (Ctrl+Alt+Backspace)!
The above is all the contents of the article "what should be paid attention to in the process of Ubuntu Netbeans development". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.