• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to Install Netbeans and Java JDK in Ubuntu 14.04 and Set Up a Basic HTML5 Project

69

To Install Netbeans and Java JDK in Ubuntu 14.04 and Set Up a Basic HTML5 Project

In this article we will learn how to set up Netbeans as an IDE (also known as Integrated Development Environment) in Ubuntu 14.04.2 LTS Trusty Tahr to start developing mobile-friendly and responsive HTML5 web applications.

The HTML 5 specification brought many advantages for developers &ndash to name a few examples: cleaner code thanks to many new elements), built-in video and audio playback capabilities (which replaces the need for Flash), cross-compatibility with major browsers, and optimization for mobile devices. we will eventually move our web site to a LAMP server and turn it into a dynamic tool and make use of jQuery, and Bootstrap.

To Install Java JDK and NetBeans

Download the Netbeans package from the Oracle website to get a newer version (8.0.2).

To download JDK 8u45, go to the Oracle Technology Network site and navigate to the Java ? Java SE ? Downloads section.

Click on the image highlighted below and accept the license agreement. When prompted by your web browser, choose to save the file instead of opening it.

1

After download completes go to ~/Downloads and extract the tarball to /usr/local/bin

[user1@linuxhelp:~]$ cd Downloads
[user1@linuxhelp:~/Downloads]$ ll
total 290932
drwxr-xr-x  2 user1 user1      4096 Mar 15 13:21 ./
drwxr-xr-x 21 user1 user1      4096 Mar 15 14:36 ../
-rw-rw-r--  1 user1 user1 181302755 Mar 15 13:12 jdk-8u74-linux-x64.tar.gz
[user1@linuxhelp:~/Downloads]$ sudo tar xf jdk-8u45-linux-x64.tar.gz -C /usr/local/bin
jdk1.8.0_74/
jdk1.8.0_74/THIRDPARTYLICENSEREADME-JAVAFX.txt
jdk1.8.0_74/THIRDPARTYLICENSEREADME.txt
jdk1.8.0_74/lib/
...
...
...
jdk1.8.0_74/man/ja_JP.UTF-8/man1/jcmd.1
jdk1.8.0_74/man/ja_JP.UTF-8/man1/javapackager.1
jdk1.8.0_74/man/ja_JP.UTF-8/man1/jstat.1

To install Netbeans

To install Netbeans with support for HTML5 and PHP, go to https://netbeans.org/downloads/ and click Download as indicated in the following image:

2

Choose Save File, and then click OK

3

Next, turn the .sh into an executable file and then run the shell script with administrative privileges

[user1@linuxhelp:~]$ cd Downloads
[user1@linuxhelp:~/Downloads]$ ll
total 290932
drwxr-xr-x  2 user1 user1      4096 Mar 15 13:21 ./
drwxr-xr-x 21 user1 user1      4096 Mar 15 14:36 ../
-rw-rw-r--  1 user1 user1 181302755 Mar 15 13:12 jdk-8u74-linux-x64.tar.gz
-rw-r--r--  1 user1 user1 116597760 Mar 15 13:21 netbeans-8.1-html-linux-x64.sh

[user1@linuxhelp:~/Downloads]$chmod 755 netbeans-8.0.2-php-linux.sh
[user1@linuxhelp:~/Downloads]$sudo ./netbeans-8.0.2-php-linux.sh --javahome /usr/local/bin/jdk1.8.0_45
[sudo] password for user1: 
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...

Follow the on-screen instructions to complete the installation leaving the default values and wait for the installation to complete.

4

To Launch NetBeans and Create a Basic HTML5 Project

Select Netbeans from the Dash menu

5

To open a new HTML5 project, go to File &rarr New project &rarr HTML5 &rarr HTML5 Application add a name and click Finish.

6


7

8

It redirects to the Netbeans UI page, where we can add folders and files to our Site Root.

To add a new file or a folder, right-click on Site Root and then select New &rarr Folder or HTML file.

View the page by selecting a web browser and clicking the Play icon.

10

Progress bar screen appears as follows.

11

Tags:
grayson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

is there any command to install netbeans?

A

Follow the below procedures sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" sudo apt-get update sudo apt-get install netbeans

Q

Where to install Netbeans?

A

You can use the following path export PATH=$PATH:~/netbeans-7.2.1/bin

Q

How to install jdk in command ?

A

apt-get install default-jdk

Q

how to install java8 ?

A

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

Q

JDK is missing NetBeans Ubuntu

A

sudo nano /etc/environment add following in the file :/$JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java" "

Related Tutorials in How to Install Netbeans and Java JDK in Ubuntu 14.04 and Set Up a Basic HTML5 Project

Related Tutorials in How to Install Netbeans and Java JDK in Ubuntu 14.04 and Set Up a Basic HTML5 Project

How to Install NetBeans IDE 8.2 in Ubuntu 18.04
How to Install NetBeans IDE 8.2 in Ubuntu 18.04
May 29, 2018
How to Install NetBeans IDE 8.2 in Linux Mint 18.3
How to Install NetBeans IDE 8.2 in Linux Mint 18.3
May 14, 2018
How to install NetBeans IDE in CentOS
How to install NetBeans IDE in CentOS
Oct 24, 2016
How to Install Netbeans and Java JDK in Ubuntu 14.04 and Set Up a Basic HTML5 Project
How to Install Netbeans and Java JDK in Ubuntu 14.04 and Set Up a Basic HTML5 Project
Mar 25, 2016
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.