Ubuntu, PHP, NetBeans - part II

In my last entry I have described, how to install PHP, Apache and MySQL in Ubuntu 8.04 from Ubuntu repositories. NetBeans IDE is written in Java, so before installing NetBeans you have to install Java. This entry is about how to install Java environment in Ubuntu.

You can find a few Java environment like openJDK, Cacao or Kaffe in the default Ubuntu repositories. I have tried to run NetBeans on top of openJDK withouth a problem, I haven't try Cacao or others. I suggest to use Sun Java, because NetBeans are tested mainly with Sun Java.

You can download JRE (Java Runtime Environment) or JDK (Java Development Kit) from Sun web.  For running NetBeans, JRE is enough. NetBeans supports the latest two releases, so today Java 1.5 and Java 1.6 are supported. Java 1.6 uses native look and field and on the pictures below you can compare how NetBeans looks, if there are running on top of Sun Java 1.5 and Sun Java 1.6 .

There steps how to install Sun Java 1.6 :

  1. From Application menu choose Add/Remove... item



  2. The Add/Remove Application dialog is open. In Show combo box select All Available Applications.



  3. Write "Sun Java" in the Search box and Sun Java 6 Runtime should be displayed.



  4. Check Sun Java 6 Runtime and click on Apply Changes button. Durig the installation you will be prompted to accept the licence.

  5. You can check, whether the JRE is installed correctly. Open a terminal and write command java -version. You should see similar output as on the picture.



Comments:

Hello,

I have a question...

What if I wanted to add a link to an external program like Adobe AIR runtime compiler? How can I do it?

PS. It would be great it Netbeans supported a AIR Project type.

Posted by xwisdom on July 07, 2008 at 01:28 PM CEST #

Hi xwisdom,

I don't expect that Sun will invest into a support of AIR. You know that this is basically direct competitions to the JavaFX. On the other hand NetBeans are open source and there is many plugins from community. So maybe someone from community will write it.

> What if I wanted to add a link to an external program like Adobe AIR runtime compiler?

I don't understand exactly, what you mean. Do you want to run it as an external process?

Thanks,
Petr

Posted by Petr Pisl on July 08, 2008 at 06:31 AM CEST #

I don't see any instructions for the actual install of the netbeans php software. I'm a total ubuntu newbie, and have no idea how to do it. I've gotten everything else in your instructions done, but no clue on how to do the actual netbeans ide. Thanks,
jfh

Posted by jfherring on October 26, 2008 at 01:04 PM CET #

Hi jfherring,

probably I should continue in series:). There are fast steps:

Download the NetBeans for PHP from NetBeans site. Currently there is available release candidate: http://download.netbeans.org/netbeans/6.5/rc/

Download the php distro for linux and run the installer.

Let me know, if it helps you.

Regards,
Petr

Posted by Petr on October 28, 2008 at 10:28 AM CET #

It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.

Posted by links of london on October 30, 2009 at 02:34 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today