How to Create, Compile and Run Java Program on Linux Mint

  • Post last modified:October 3, 2016
  • Post category:Linux
  • Post author:

First install the required your favorite JDK on your computer such as Oracle Java, OpenJDK or IBM Java. If you don’t have any, please follow the below below link to install Oracle JDK 8 on Linux Mint.

In this tutorial we are going to work manually with Java programming without the use of an IDE.

Open Terminal. To open terminal click the Main Linux Mint Menu, then go to system tools and select Terminal or type terminal in the search field or click the Terminal icon in taskbar.

terminal
(more…)

Continue ReadingHow to Create, Compile and Run Java Program on Linux Mint

How to install Oracle JDK 8 on Linux Mint

  • Post last modified:September 30, 2016
  • Post category:Linux
  • Post author:

Linux mint 18 mate comes with open JDk 8 by default. Open JDK and Oracle JDK both have almost the same code of the classes in the Java API. But OpenJDK tends to use open libraries and Oracle JDK tends to use closed ones. And if you want to install Oracle JDK 8 on Linux Mint, please follow the below steps.

Install Oracle JDK 8 on Linux Mint 18

Go to Oracle JDK8 download page. And download the latest linux jdk in .tar.gz format.
Here its (32 bit) jdk-8u102-linux-i586.tar.gz

java-jdk-download-page
Note:change the JDK version in the command according to your jdk version.

Copy your JDK .tar.gz file to your Desktop.

Open Terminal. To open terminal click the Main Linux Mint Menu, then go to system tools and select Terminal or type terminal in the search field or click the Terminal icon in taskbar.

terminal

(more…)

Continue ReadingHow to install Oracle JDK 8 on Linux Mint

Java SE 8 Released

Java SE 8 is now available for download.What’s new in this version?

Lambda Expressions.
Method references provide easy-to-read lambda expressions for methods that already have a name.
Default methods enable new functionality to be added to the interfaces of libraries and ensure binary compatibility with code written for older versions of those interfaces.
Repeating Annotations
Type Annotations
Improved type inference.
Method parameter reflection.
The JDBC-ODBC Bridge has been removed.
JDBC 4.2 introduces new features.
JDK 8 includes Java DB 10.10.
DK 8 includes Java Mission Control 5.3.
Enhanced text support including bi-directional text and complex text scripts such as Thai and Hindi in controls, and multi-line, multi-style text in text nodes.
Support for Kerberos 5 Protocol Transition and Constrained Delegation.
(more…)

Continue ReadingJava SE 8 Released

Java SE 7 Update 7 Released

Java SE 7 update 7 is now available for download.This release fixes latest Java vulnerability that is being exploited in the wild right now.

This Security Alert addresses security issues CVE-2012-4681 (US-CERT Alert TA12-240A) and two other vulnerabilities affecting Java running in web browsers on desktops.
These vulnerabilities are not applicable to Java running on servers or standalone Java desktop applications and Oracle server-based software.

These vulnerabilities may be exploited over a network without the need for a username and password. To be successfully exploited, an unsuspecting user running an affected release in a browser will need to visit a malicious web page that leverages this vulnerability. Successful exploits can impact the availability, integrity, and confidentiality of the user’s system.

security-in-depth fix in the AWT subcomponent of the Java Runtime Environment.
(more…)

Continue ReadingJava SE 7 Update 7 Released

Firefox Blocking Older Versions of Java

Mozilla team has added older versions of the Java plugin (for Windows-Version 6 Update 30 and below as well as Version 7 Update 2 and below)to Firefox’s blocklist due to this critical vulnerability and it will be disabled unless a user makes an explicit choice to keep it enabled at the time they are notified of the block being applied.
(more…)

Continue ReadingFirefox Blocking Older Versions of Java

How to install jdk on ubuntu 11.10

  • Post last modified:May 5, 2012
  • Post category:Linux
  • Post author:

The sun-java6 package (and also jdk7) is no longer available in the official Ubuntu 11.10 Oneiric Ocelot repositories due to the removal of the JDL license. To install sun jdk on ubuntu 11.10.

To install JDK7 click Here:

1.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal

2.Type the below code in terminal and hit enter.

sudo add-apt-repository ppa:ferramroberto/java

Type your ubuntu password if needed and press enter.

(more…)

Continue ReadingHow to install jdk on ubuntu 11.10