Jun 30, 2009

Netbeans 6.7 installed on Solaris 10 SPARC and OpenSolaris Build 117 x86

I've installed Netbeans 6.7 on 2 SPARC Solaris 10 Machines running as SunRay-Server and on my OpenSolaris Build 117 laptop.

All installations work.
Python is available as a Plugin and seem to work, as far as I can see now.

The deactivation of some Plugins is a great feature to save memory and speed.

Jun 29, 2009

Netbeans 6.7 is available for download

Saw a hint on Facebook from Sun, that NetBeans 6.7 is available for download.

see here.

OpenSolaris Build 117 - lxbrand zone does not have audio anymore

I used a branded Zone on my OpenSolaris box to have a CentOS 5 running with
skype inside.
Until build 111b ( OpenSolaris 2009/06 ) audio worked ( with a little delay ).
After upgrading to Build 117 and the boomer-Framework, audio does not work for
skype in the zone.

wish - tcl/tk on Build 117 does not work correct

On OpenSolaris - Build 117, the tcl/tk wish installation does not work.
The program secpanel ( a GUI for ssh management ) does not work.
Starting wish on a commandline issues the following error:

bash-3.2$ wish
Application initialization failed: Can't find a usable tk.tcl in the following directories:
/usr/lib/tcl8.4/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.18/library

/usr/lib/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
while executing
"bind Listbox {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox {
%W yview scroll [expr {- (%D)}] uni..."
(file "/usr/lib/tk8.4/listbox.tcl" line 181)
invoked from within
"source /usr/lib/tk8.4/listbox.tcl"
(in namespace eval "::" script line 1)
invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
(procedure "SourceLibFile" line 2)
invoked from within
"SourceLibFile listbox"
(in namespace eval "::tk" script line 4)
invoked from within
"namespace eval ::tk {
SourceLibFile button
SourceLibFile entry
SourceLibFile listbox
SourceLibFile menu
SourceLibFile panedwindow
SourceLibFile ..."
invoked from within
"if {$::tk_library ne ""} {
if {$tcl_platform(platform) eq "macintosh"} {
proc ::tk::SourceLibFile {file} {
if {[catch {
namespace eval :: ..."
(file "/usr/lib/tk8.4/tk.tcl" line 407)
invoked from within
"source /usr/lib/tk8.4/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

%
Something with the installation during the upgrade must have failed.

Jun 27, 2009

Upgraded the OpenSolaris Laptop to Build 117 from the dev repository

Today I upgraded the Laptop to build 117 from the dev repository of OpenSolaris.

Nearly everything went fine. During the download the Connection failed and the package could not be downloaded.
After restarting the download the already downloaded packages were used and
the upgrade went nearly fine.

Just this messages were issued:

Update Phase 37200/38341 driver (softmac) upgrade (removal of policy'read_priv_set=net_rawaccess write_priv_set=net_rawaccess) failed: minor node spec required.
driver (vnic) upgrade (removal of policy'read_priv_set=net_rawaccess write_priv_set=net_rawaccess) failed: minor node spec required.
driver (aggr) upgrade (removal of policy'read_priv_set=net_rawaccess write_priv_set=net_rawaccess) failed: minor node spec required.
Update Phase 37206/38341 driver (ibd) upgrade (removal of policy'read_priv_set=net_rawaccess write_priv_set=net_rawaccess) failed: minor node spec required.
Update Phase 37209/38341 driver (pcelx) upgrade (removal of policy'read_priv_set=net_rawaccess write_priv_set=net_rawaccess) failed: minor node spec required.
Update Phase 37213/38341 driver (iprb) upgrade (removal of policy'read_priv_set=net_rawaccess write_priv_set=net_rawaccess) failed: minor node spec required.
driver (dnet) upgrade (removal of policy'read_priv_set=net_rawaccess write_priv_set=net_rawaccess) failed: minor node spec required.
driver (elxl) upgrade (removal of policy'read_priv_set=net_rawaccess write_priv_set=net_rawaccess) failed: minor node spec required.

But this is no problem for my laptop, it booted to Build 117 without Problems.
Also the new Audio-Framework seems to work.

bash-3.2$ cat /dev/sndstat
SunOS Audio Framework

Audio Devices:
0: audio810#0 Intel AC'97, ICH4 (DUPLEX)

Mixers:
0: audio810#0 Intel AC'97, ICH4
AC'97 codec: SigmaTel STAC9766 (2 channels)
This is an old Fujitus Lifebook S-Series:
bash-3.2$ prtdiag
System Configuration: FUJITSU SIEMENS LIFEBOOK S6120
BIOS Configuration: Phoenix/FUJITSU Version 1.25 01/29/2004

Jun 17, 2009

Netbeans 6.7 RC3 is available and runs in OpenSolaris 2009.06

Installed the new RC3 of Netbeans 6.7 on my opensolaris 2009.06 box.
The Python plugin is in the repository for NetBeans 6.7 RC3 available and works.


The import of the options from RC2 seems also to work, but I do not know, if the
Tab to spaces conversion was in use when I exported.
This was active after importing.

Nautilus supports TimeSlider ( via ZFS snapshots ) -> a comparison of different Versions of a file is possible

ZFS supports snapshots to store a version of the filesystem.
Tim Foster generated a package named zfs autosnapshots, which allows to
automatically make snapshots of the filesystem. In OpenSolaris this is
also available via a menu entry.

Since OpenSolaris 2009.06, nautilus has an additional feature.
In the dev-repository nautilus had for some releases the feature to open a slider
( TimeSlider ) to change the view of the version, when snapshots are available.
Now the context menu supports an entry named "Explore Versions".
This shows the available versions and if SUNWmeld is installed you can compare.

See a good entry in the blog of the The Observatory.

Jun 16, 2009

jEdit : Highlighter plugin to mark sequences in a logfile

jEdit has a nice plugin named highlighter. This plugin allows you to select an
( regular ) expression which should be highlighted with a user defined color.


In this screenshot you see the highlighter attached at the bottom and some
expressions, which are highlighted in the log file ( in this case different threads
are shown ).
Each expression can be defined, if it is only for the buffer ,session or permanent
usage.

Jun 12, 2009

easier usage of fileopen dialog in jEdit

If you have a lot of files in a directory ( like trace files in my case ), the selection of
a specific file needs a lot of searching.

jEdit has a filter line in the dialog, which allows to narrow the displayed result set
of possible files.

Jun 8, 2009

Installed NetBeans 6.7 RC2 on OpenSolaris

I have installed NetBeans 6.7 RC2 on OpenSolaris 2009.06 Build 111b.

Used only the python plugin so far, but didn't have any negative experiment.
The performance seems to be improved a little bit, especially in the code completion.

Jun 3, 2009

Netbeans 6.7 RC1 allows python completion of "private" methods

In the RC1 version of the Netbeans IDE ( which supports the installation of the Python plugin from the Plugin-Site ) the code completion was improved.

As you can see in the picture, there are also the "private" python methods suggested, which start with double underscore.
This was not the case in the Milestone release, where a python plugin was available.

recording a desktop action or window in OpenSolaris

In the IPS repository
http://ips.homeunix.com:10000/


are a bunch of multimedia packages for OpenSolaris.

The package MBListanbul contains an application, which shows
after starting a small red dot in the gnome-panel.
Here you can select the window or screen with the right mouse button
and the left mouse button starts the recording.
After you've finished the recording a window appears, which allows you to
save the session as an .ogg file.


Jun 2, 2009

JDK 1.6.0 Update 14 and the new G1 garbage collector

I installed the update 14 of JDK 1.6.0.
This update has a new Garbage Collector called G1.

To try this new feature in netbeans I switched the options in etc/netbeans.conf on, but didn't find the options to set.

Here are the options( search for G1):

The production use of G1 is only permitted with a Java Support Contract!!!
-XX:+UseG1GC
-XX:MaxGCPauseMillis=
-XX:GCPauseIntervalMillis=



dual screen in OpenSolaris 2009.06 ( Build 111b )

In the dual screen mode of OpenSolaris - Build 111b ( attached an external display on the laptop ) , the bar's on top and bottom of the screen do not extend over both
monitors anymore, like before.

Maximizing a window increases the size over both monitors.

Dialogs appear on one screen and not in the middle between the two screens, but not
all dialogs.
e.g. editing the menu with the right mouse button on the application button and
selecting the properties for an entry, shows the properties window in the middle
of both screens, having the the screenframes separating the dialog window.

Jun 1, 2009

Upgraded OpenSolaris Build 111a to 111b ( OpenSolaris 2009.06 ? ) on my laptop

Today I read about the announcement of OpenSolaris 2009.06.

I started upgrading and got to build 111b.

bash-3.2$ uname -a
SunOS solewer 5.11 snv_111b i86pc i386 i86pc Solaris
bash-3.2$
Everything is up and running.

Netbeans 6.7 RC1 is available for download - Python available

The RC1 of Netbeans 6.7 is available for download.

After installing on OpenSolaris Build 111a, I imported the settings from
Version 6.5.
In the RC1-Version of Netbeans 6.7 the Python and Jython Plugins are
in the list of installable plugins.

There is no manual copying necessary as in the Milestone Release.