Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Installation under Linux to deploy Java     - tar command to extract a file error: stdin has more than one entry (Linux)

- Strategy Games Ubuntu installation of Wesnoth 1.12.1 (Linux)

- To install the Ubuntu Touch emulator on Ubuntu (Linux)

- Linux (SUSE) mount NTFS mobile hard practice (Linux)

- Android Send HTTP POST requests (Programming)

- Linux command Detailed chpasswd bulk edit user password (Linux)

- OpenSUSE GPG Comments (Linux)

- linux system optimization and security configuration (Linux)

- Common DDOS attacks (Linux)

- Binary Packages Golang (Linux)

- To install Redis under Linux (Database)

- Sniffer Linux Environment (Linux)

- Use Elasticsearch + Logstash + Kibana set up centralized log Practice Analysis Platform (Server)

- CentOS 6.5 install VNC-Server (Linux)

- Ubuntu install Wireshark (Linux)

- Oracle Data Guard LOG_ARCHIVE_DEST_n optional attribute parameters (Database)

- Linux foreground to background process switch (Linux)

- To create a secure network firewall with iptables Under Linux (Linux)

- OpenSSH version smooth upgrade method (Linux)

- Comparison of C # and Java (Programming)

 
         
  Installation under Linux to deploy Java
     
  Add Date : 2016-04-14      
         
       
         
  Java 6 installed small portion (for novice)

1, download packages

# Wget http://download.Oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz?AuthParam=1441937568_6752e90a2aa70be3cf8baa0b8905125c
Change the name of the software, I do not know why the name wget downloaded quite a mess

# Mv jdk-7u79-linux-x64.tar.gz? AuthParam = 1441937568_6752e90a2aa70be3cf8baa0b8905125c /root/jdk-7u79-linux-x64.tar.gz
# Cd
2, unzip the file jdk

# Tar zxf jdk-7u79-linux-x64.gz -C / data /
3. Create a soft link

# Ln -s /data/jdk1.7.0_79 / usr / local / java
4, edit the environment variables (Enter: $ Locate the last line of the file, and then perform the final editing o edge in the paper)

# Vim / etc / profile
1 # ------------------------------ JAVA ----------------- ------------- #
2 export JAVA_HOME = / usr / local / java
3 export PATH = $ JAVA_HOME / bin: $ PATH
4 export CLASSPATH =:. $ JAVA_HOME / lib / dt.jar: $ JAVA_HOME / lib / tools.jar
5, so java environment variables to take effect

# Source / etc / profile
6. Verify java installed successfully (This command returns the java version information)

# Java -version
1 java version "1.7.0_79"
2 Java (TM) SE Runtime Environment (build 1.7.0_79-b15)
3 Java HotSpot (TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
     
         
       
         
  More:      
 
- Python pickle module for simple use notes (Programming)
- Ubuntu 14.04 install PostgreSQL 9.2 (Database)
- Java String type time compare the size (Programming)
- About Git (Linux)
- Eclipse 3.7.2 can not start solving under Ubuntu 14.04 (Linux)
- Linux firewall settings instance (Linux)
- Install Ubuntu 14.04 and Windows 8 / 8.1 dual-boot in UEFI mode (Linux)
- How to download video youtube-dl in Linux (Linux)
- Ubuntu install Eclipse can not find JAVA_HOME problem (Linux)
- Port Telnet command to detect the remote host is turned on (Linux)
- Android components save state series - Activity (Programming)
- Linux GCC 5.1.0 compiler installation (Linux)
- Mongo-connector integrated MongoD to achieve incremental Solr index (Server)
- RHEL5.x RHEL6.x replace CentOS yum source (Linux)
- Bubble Sort Algorithms (Programming)
- Android components series Activity (Programming)
- Using IntelliJ IDEA Import Spark Spark latest source code and compile the source code (Linux)
- Prevent security threats caused Rootkit (Linux)
- Django1.5 Custom User Model (Programming)
- Ubuntu 12.04 64bit Install Source Insight 3.5 and create desktop icons (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.