« květen 2008
PoÚtStČtSoNe
   
1
2
3
4
5
7
8
9
10
12
13
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today
XML

NetBeans Frappr! Map

Navigation

Speaker Profile
Roumen's Weblog
Login
Sun Bloggers
Technorati Profile

Am I popular?

Today's Page Hits: 5138

Contact Me

Name: Roman Strobl
E-mail: roman dot strobl
at sun dot com
ICQ: #54106719
Collab: Roumen@share.java.net

NetBeans

Java Sites

Javalobby
The Server Side
Java Tips
Java Blogs
java.net
java.sun.com
java.cz

Blogs

NetBeans:
Geertjan
Brian Leonard
Gregg Sporar
Lukas Hasik
Ludovic Champenois
Vincent Brabant
Alexis Moussine-Pouchkine
Jullion-Ceccarelli
Tom Ball
Tim Boudreau
Jesse Glick
Petr Blaha
Ruth Kusterer
Jara Uhrik
xzajo
Jan Lahoda
James Branam
nbextras.org

Sun:
Kazem - bug cartoons ;-)
Tor Norbye
Romain Guy
James Gosling
Chief Gaming Officer
Jim Grisanzio
Jonathan Schwartz

Planets:
Planet Netbeans
Planet Sun
Planet Eclipse

Other:
netbeans-blog.org
Joel Spolsky
Bruce Eckel

License info

Creative Commons License
This work is licensed under a Creative Commons License.

Recent Entries

Map of visits

Locations of visitors to this page
« Where is NetBeans... | Main | Where did my plug-in... »
20080425 Pátek duben 25, 2008
Installing NetBeans on OpenSolaris

Installation experience of NetBeans on OpenSolaris over network is similar to the experience on Ubuntu. The nice thing is that OpenSolaris repository contains the full version of the IDE, not just the stripped-down Java version. I tried installing NetBeans:

roman@opensolaris:~# pkg install netbeans

pkg: no package matching 'netbeans' could be found in current catalog
     suggest relaxing pattern, refreshing and/or examining catalogs
pkg: install failed: Unable to assemble image plan

The problem is that the repository has just been updated (NetBeans has been added very recently) so I need to refresh the repository first:

roman@opensolaris:~# pkg refresh

Then I could run:

pkgroman@opensolaris:~# pkg install netbeans
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  17/17   5420/5420 339.92/339.92

PHASE                                        ACTIONS
Install Phase                              6393/6393 

To verify the installation you can run:

roman@opensolaris:~# pkg list netbeans
NAME (AUTHORITY)                              VERSION         STATE      UFIX
netbeans                                      6.0.1-0.86      installed  ----

To find out where NetBeans got installed I ran:

roman@opensolaris:~# pkg search netbeans
INDEX      ACTION    VALUE                     PACKAGE
basename   dir       usr/netbeans/ide8/docs/org/netbeans pkg:/SUNWlibnb-ide8@6.0.1-0.86
basename   dir       usr/netbeans/enterprise4/ant/sources/org/netbeans pkg:/SUNWlibnb-enterprise4@6.0.1-0.86
basename   file      usr/netbeans/bin/netbeans pkg:/SUNWnetbeans-ide@6.0.1-0.86
basename   dir       usr/netbeans/java1/sources/org/netbeans pkg:/SUNWlibnb-java1@6.0.1-0.86

So now I could run NetBeans by calling:

roman@opensolaris:~# /usr/netbeans/bin/netbeans

My next wish is that we would fix the UI of NetBeans on Solaris. The toolbars look really broken and default editor font should really be monospace :(

Trackback URL: http://blogs.sun.com/roumen/entry/installing_netbeans_on_opensolaris
Comments:

how do you handle plugins ? Via netbeans or via pkg ?

Posted by Michal Bielicki on duben 25, 2008 at 12:35 odp. CEST #

Via NetBeans.

Posted by Roman on duben 25, 2008 at 12:41 odp. CEST #

Roman, it appears that you've su'd as root to install NetBeans. Is sudo available for OpenSolaris?

Posted by Brian Leonard on duben 25, 2008 at 10:57 odp. CEST #

In OpenSolaris root is a role - which is why you see my username "roman". There's pfexec if you are looking for something like sudo. See:

http://blogs.sun.com/albertw/entry/replacing_sudo

Posted by Roman Strobl on duben 25, 2008 at 11:02 odp. CEST #

For what it's worth, we're hoping to eliminate the need for "pkg refresh" in a future version. I'm glad it's working well for you!

Posted by Daniel Price on květen 01, 2008 at 09:29 odp. CEST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed


    Disclaimer: The contents of my blog represent my personal opinions which may differ from official views of my employer, Sun Microsystems.