CÔNG VIỆC CỦA CHÚNG TÔI

+ Đào tạo & hỗ trợ thi & Cấp chứng chỉ Ứng dụng CNTT cơ bản, nâng cao
+ Cung cấp dịch vụ Thiết kế - Lập trình web
+ Các giải pháp triển khai - quản trị hệ thống mạng doanh nghiệp
+ ĐÀO TẠO CHUYÊN NGHIỆP: LẬP TRÌNH (C, .Net, ASP.net, PHP, Thiết kế Đồ họa
Hiển thị các bài đăng có nhãn Java. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Java. Hiển thị tất cả bài đăng
Cai dat JDK tren Linux Ubunu

Cai dat JDK tren Linux Ubunu

PS: Bai viet mang tinh luu tru ca nhan de tham khao khi can thiet

Installing Java 8 on Ubuntu

Add the webupd8team Java PPA repository in your system and install Oracle Java 8 using following set of commands.

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
 
 

Verify Installed Java Version

After successfully installing oracle Java using above step verify installed version using following command.

rahul@tecadmin:~$ java -version

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
 

Configuring Java Environment

In Webupd8 ppa repository also providing a package to set environment variables, Install this package using following command.

$ sudo apt-get install oracle-java8-set-default
Microsoft JDBC Driver for SQL Server

Microsoft JDBC Driver for SQL Server

Microsoft JDBC Driver for SQL Server

The Microsoft JDBC Driver for SQL Server is available to all SQL Server users at no additional charge from Microsoft. It provides access to SQL Server 2000-2014 from any Java application.
Required File(s)
sqljdbc4.jar
Default Driver Class
com.microsoft.sqlserver.jdbc.SQLServerDriver
JDBC URL Format
jdbc:sqlserver://<host>[:<port1433>];databaseName=<database>
More information and download
Microsoft

jTDS JDBC Driver

jTDS is an open source 100% pure Java (type 4) JDBC 3.0 driver for Microsoft SQL Server (6.5, 7, 2000, 2005, 2008, 2012) and Sybase (10, 11, 12, 15).
This driver is co-packaged with DbVisualizer.
Required File(s)
jtds-1.2.5.jar
Default Driver Class
net.sourceforge.jtds.jdbc.Driver
JDBC URL Format
jdbc:jtds:sqlserver://<host>[:<port>][/<database>]

Example:
jdbc:jtds:sqlserver://localhost:5000/myDB
jdbc:jtds:sqlserver://192.168.10.201:5000/SAMPLE
More information and download
jTDS web site
Notes
Installation Notes: Download the jtds-nn-dist.zip file, unzip it and then load the jtds.jar file in the DbVisualizer Tools->Driver Manager or in the Tools->Connection Wizard.