JavaFX compiler for Linux very soon? May 11, 2009Posted by claudio in Uncategorized.
Tags: Java, javafx, netbeans, Sun
1 comment so far
- Will SUN open JavaFX completely now (don’t make the JDK error twice!)?
- When will -at least- Netbeans get a JavaFX graphical editor in the same level as the Netbeans’ Matisse Swing editor?
- And last but not least, what will Oracle do with JavaFX when it owns SUN?
Anyway, if the apparently well-informed rumour is true, it is indeed good news.
I don’t like monkeys in the house April 24, 2009Posted by claudio in Uncategorized.
Tags: GNU/Linux, Java, mono
I have been running Linux before Mono appeared and I remember the discussions. To be short: most reasons to introduce .Net on Linux are clearly bogus today. If you really want to use a high-level language with a VM, well … use Java (there are java-gtk2 bindings if you prefer a more native look than swing-gtk or swt-gtk). If you want to make it perfect, spend a fraction of the time and money of copying/rewriting a full stack (including a VM) and fix what need to be fixed on Java (specially now that’s GPL2). Besides, there are pretty decent IDEs that make you productive . If Java isn’t your cup of coffee tea (It should be as C# looks pretty similar to me), there are tons of other languages with gtk-bindings (I use gtk2-perl).
Anyway, being a user of a minority OS, there was one argument that stuck then: “we will enable thousands of windows programmers to run their programs unchanged on Linux”. I remember the apocalyptic warnings of “jumping on the .Net boat or drown and disappear”. Guess what, it didn’t happen. And it won’t happen. Windows developers prefer to write for the full and up-to-date .Net stack instead of an outdated Linux-clone. Nothing earth-shocking here. As long as the complete stack is not open (libraries), you will always play -incompatible- catchup.
What did we get instead? Beside a few proprietary applications (that can be counted on one hand), we’ve got some tools and applications that mainly run on Linux. Some of them are very nice, but nothing revolutionary that can not be written in an other language.
Do we need to live in fear of Microsofts lawyers for a few applications that can be written in a risk-free language or stack (e.g. Tomboy => Gnote)? To be honest, as long as the OS and my DE (Gnome) don’t depend on Mono, I don’t really care. If Microsoft sends its lawyers, there is always “apt-get purge libmono0 mono-common”. The problem I see is that Novell is pushing really hard to make Gnome dependant on Mono.
Removing Mono in that situation will mean holding the broken pieces of the Desktop in your hands.
Still no javafx for Linux? March 3, 2009Posted by claudio in Uncategorized.
Tags: Java, javafx, Linux, rant
I use a lot of Sun software: java, mysql, virtualbox, solaris, solaris cluster, etc.
Sadly, the javafx sdk has only be released for windows and macos. I guess Sun doesn’t get it that it needs as many developers as possible as its alternative is a few years late compared to the competitors. And a lot of linux users are developers/admins…
I know they are workarounds to get the sdk running on linux, but why bother?
Java 6 update 10 on Ubuntu 8.10 && Firefox November 5, 2008Posted by claudio in Uncategorized.
Tags: 6u10, Java, Ubuntu
EDIT: Then new Ubuntu release (9.04) fixes this problem, and installing the plugin can be done by typing this in a console: sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
When I wanted to test some new features of the latest java 6 re update, I noticed that firefox wasn’t showing any applets at all. Reviving applets from the death is probably voodoo business, but anyway, there is an easy solution:
Install the sun jre (openjdk6 is installed by default):
$ sudo apt-get install sun-java6-jre sun-java6-plugin
Enable the firefox plugin:
$ sudo ln -s /usr/lib/jvm/java-6-sun-18.104.22.168/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/
You can test your java-firefox installation here.
Object Oriented Perl? July 12, 2008Posted by claudio in Uncategorized.
Tags: Java, OO, Perl
I have some code out there that follows the inside-out objects methodology of Perl Best Practices. Lately I have been writing java code, and inside-out objects feel like a lot of extra – not very intuitive – work to create your classes. I have been looking at Moose, but again it looks pretty cumbersome to create classes (constructors, named parameters for methods, returns, etc.). I am just probably missing a good howto (besides the cookbooks on cpan) or even a printed book on Moose. Any tips out there to get into Moose fast or a nice complete and intuitive alternative (extra points if it’s similar to java’s OO framework)? Thanks.
EDIT (Feb. 16th 2009): it seems I have a direct line with The Perl Foundation: a grant was approved for Dave Rolsky to work on the Moose documentation. Yannick greated a nice pdf output of the manual (see this as well).
Tags: bug, Java, netbeans
1 comment so far
Netbeans has a killer feature: it’s graphical Swing builder (aka Matisse). It’s fast, flexible and it works. GUI application in no time. Great.
However, when not creating the GUI by hand, it can be difficult to track some bugs. I found out that when using different JDialogs in the same application, resulting in the dialogs having the same size as the first dialog opened. Pretty annoying. This is how to solve it. (more…)
OpenJDK Swing in Gtk clothing: getting there? June 2, 2008Posted by claudio in Uncategorized.
Tags: Desktop, GNU/Linux, Java, Linux, swing
1 comment so far
Sun has a golden opportunity to make the dream of Desktop java reality. Although java is predominant for enterprise applications and on the server room, java on the Deskop – whatever Sun claims – is not a reality.
Things have changed since the days of over-hyped applets. Java SE 6 is nice and getting better and swing – and java in general – have made huge speed improvement (hotspot and co.). More important, java is now free.