In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "Ubuntu installation of JDK, netbeans and netbeans Chinese garbled how to solve", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Ubuntu installation of JDK, netbeans and netbeans Chinese garbled how to solve" it!
1) install JDK
Download JDK:
Official website http://www.oracle.com/technetwork/java/javase/downloads/index.html (download jdk instead of jre, distinguish between jdk and jre)
I install it in / usr/lib/jvm/java (this step is customized as needed, and is self-built in / jvm/java)
The code is as follows:
Cp jdk-6u35-linux-i586.bin / usr/lib/jvm/java/
To obtain its permissions:
The code is as follows:
Sudo chmod uplix / usr/lib/jvm/java/jdk-6u35-linux-i586.bin
Install JDK:
The code is as follows:
Sudo / usr/lib/jvm/java/jdk-6u35-linux-i586.bin
Configure environment variables:
The code is as follows:
Sudo gedit / etc/profile
Add after the file:
The code is as follows:
# set java environment
JAVA_HOME=/usr/lib/jvm/java/jdk1.6.0_35
Export JRE_HOME=/usr/lib/jvm/java/jdk1.6.0_35/jre
Export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
Export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
Set the default JDK (generally, the default jdk in ubuntu is its own openjdk, so you need to set the default jdk to the installed jdk)
The code is as follows:
Sudo update-alternatives-install / usr/bin/java java/ usr/lib/jvm/java/jdk1.6.0_35/bin/java 300
Sudo update-alternatives-install / usr/bin/javac javac / usr/lib/jvm/java/jdk1.6.0_35/bin/javac 300
(2) install netbeans
Download netbeans: (choose as needed, select php,netbeans here to download the plug-in as needed)
The official website http://netbeans.org/downloads/
Get permission (find the download directory)
The code is as follows:
Sudo chmod upright x netbeans-7.2-ml-php-linux.sh
Installation
Sh netbeans-7.2-ml-php-linux.sh
After that, a picture and text interface will appear to select the installation path as needed. The default jdk is jdk installed.
(3) netbeans garbled problem: install Chinese character library
The code is as follows:
Sudo apt-get update
Sudo apt-get install ttf-arphic-ukai ttf-arphic-uming
Sudo apt-get install ttf-wqy-zenhei
Sudo fc-cache-v # force update of font cache
Thank you for your reading, the above is the "Ubuntu installation of JDK, netbeans and netbeans Chinese garbled how to solve" the content, after the study of this article, I believe you on the Ubuntu installation of JDK, netbeans and netbeans Chinese garbled how to solve this problem has a more profound experience, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.