Showing posts with label installation. Show all posts
Showing posts with label installation. Show all posts

Sunday, November 8, 2015

Install Netbeans 8.1 0n Ubuntu 15.10

Netbeans IDE 8.1 just released.

This video show how to download and install Netbeans IDE 8.1 on Ubuntu-GNOME 15.10


To install Ubuntu 8.1 on Ubuntu:
- chmod +x <installer-file-name>.
- run it with command:
./<installer-file-name> to run the installer.

The only special is to select correct path to JDK, 1:40 in the above video.

My JDK was installed with ppa:webupd8team, it's on "/usr/lib/jvm/java-8-oracle".




If you missed the setting JDK path, you still run edit netbeans.conf, to specify netbeans_jdkhome, or run netbeans with --jdkhome option. (ref: http://wiki.netbeans.org/FaqRunningOnJre)

netbeans.conf to set netbeans_jdkhome:



run netbeans with --jdkhome option:


Thursday, October 29, 2015

Install Netbeans IDE on Ubuntu GNOME 15.10

Before install Netbeans IDE, install JDK8 first.

Follow the video to install Netbeans IDE on Ubuntu GNOME 15.10:



Try a example in Netbeans IDE:

Install Oracle Java 8 on Ubuntu 15.10 via ppa:webupd8team


ppa:webupd8team/java is a Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7/JDK8/JDK9).

To install on Ubuntu 15.10, enter the commands in terminal:
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer


webupd8team/java also provide oracle-java8-set-default, automatically sets the Java 8 environment variables and sets JDK8 as the default JDK. To install it, use the following command:
$ sudo apt-get install oracle-java8-set-default




Friday, February 1, 2013

How to remove JDK in Ubuntu Linux

Java SE 7 Update 13 released, so I have to remove old jdk and install the updated version.

To remove jdk using update-alternatives, open Terminal and type the commands:

sudo update-alternatives --remove "javac" "/home/you/jdk1.7.0_11/bin/javac"
sudo update-alternatives --remove "java" "/home/you/jdk1.7.0_11/bin/java"

remove JDK in Ubuntu Linux
remove JDK in Ubuntu Linux

After remove the old jdk, you can remove the old jdk from your hardisk, and re-install the new JDK 7 and update-alternatives.

Wednesday, January 16, 2013

Install Netbeans IDE 7.2 on release version Windows 8

TO download Netbeans, visit http://netbeans.org/, click the Download button.


Scroll download the select the download option. Java SE in my case.


Run the download file, netbeans-7.2.1-ml-javase-windows.exe.


Click Next to start installation.


Accept the terms in the license agreement, and click Next.


Accept the terms t install JUnit, and click Next.


Select the location to install. The installer will search te installed JDK if exist. Next.


Review all the setting, and click Install.



Finish.



Install JDK 7 on Windows 8 (Official version)

In this post, I describe how to download and install JDK 7 (Java SE 7u11 currently) on official Windows 8 (not Preview version).

Note: You must have administrative permissions in order to install the JDK on Microsoft Windows.
Note: Installers for JDK 7u6 and later install the JavaFX SDK and integrate it into the JDK installation directory.

Visit http://www.oracle.com/technetwork/java/javase/downloads/index.html, click the download Java Platform button.

Scroll down to check Accept License Agreement, select Java SE Development Kit 7u11, jdk-7u11-windows-i586.exe for Windows x86.

Run the downloaded installer.

Select optional features and location to install.


Select location to install jre.


Completed.

Next:
- Set PATH environment variable to JDK on Official Windows 8