Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the matters needing attention in the process of Ubuntu Netbeans development?

Shulou Source: shulou.com Published: 2022-06-02 11:24:13 10月03日 Update

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!

Tags: Catalog content terminal event process development article Chinese run interface program system software learning help Chinese version garbled can be passed command graphics Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Microsoft OPPO Reno Docker NVidia