| Home | ||||||
| What's New | ||||||
| Blogs | ||||||
|
||||||
| Photo Gallery | ||||||
| Contact Me |
||||||
| Products | ||||||
|
||||||
| Current Projects | ||||||
|
||||||
| Things of Interest |
PALACIO de CRISTAL
|
||
|
YAJB : Of course a blog about Java must start with a 4-letter
acronym otherwise you can't be taken seriously. So yeah, this
is yet another blog about Java. I will use it to gather together
the odd bits of information that I think are usefull or interesting.
It was always possible of course to install several Java
versions on the same system, but switching from one to another
has always been a bit of a nuisance. In Windows I started
using batch files that I wrote specifically for the purpose
of setting PATH and JAVA_HOME variables while for Linux you can
use the alternatives command.
But I just found out that newer Java versions actually support
switching versions directly from the command line:
Yes, it's finally here! Welcome to the new Java era.
Now let's see where this roller coaster will take us.
Don't close your eyes!
OpenJDK
This has already been a Java Application of the Day but
I thought Bang Howdy
deserves to be mentioned more. This is one of those examples
that it is very much possible to write nice games using Java!
Taking a look at the latest information about that highly intriguing
Java scripting language called F3
I found a reference to yet another interesting Java project I had not heard
about before Flying Saucer .
A strange name for a XHTML+CSS renderer but I'm not complaining,
components like this are always very welcome!
Hey, I should do this more often! While writing the previous item I
thought it would be nice to format the regular expression a bit by
indenting it and adding some comment, this was the result:
I have been working the last couple of days on adding syntax
highlighting to my blog. For this I used the
jEdit syntax
package that I found on SourceForge. I had to change it a bit because
it was a bit too focused on using it from within an editor but all in
all it is not bad.
Only the XML highlighting didn't really convince me, it would just
color everything blue except for the comments. So I thought I'd take
a stab at parsing the attributes so keys and values would get their
own colors.
But looking at the code I realized it would take some work doing it
the way they did it so I decided to just at a regular expression at
right point.
Thing is, regular expressions are great but when they finally result
in something like this, I have to wonder "WTF am I doing???":
Wow, for me this definitely is an historic day, Sun will release the
entire Java platform as open source! And they're not just using any
license, they are actually releasing it under the
GPL
!
But even more incredible in my opinion is Jonathan Schwartz,
director of Sun Microsystems,
admitting
that the final push for selecting the GPL was the Microsoft-Novell
anouncement last week about protecting eachother's customers from
patent violations:
By admitting that one of the strongest motivations to select the GPL was the announcement made last week by Novell and Microsoft, suggesting that free and open source software wasn't safe unless a royalty was being paid. As an executive from one of those companies said, "free has to have a price." That's nonsense. ", but he doesn't seem to
mind much ,
in fact he seems pretty pleased, commending Sun for taking a
leadership role and saying that this makes Sun the world's biggest
single contributor of open source software.
Personally I would like to see how the Linux distros will pick this up.
RedHat for example has always been a big supporter of Java, spending
a lot of time and effort to make sure that projects like
GNU Classpath and
GCJ work perfectly
on their systems.
How will it all work out? Is there any use for the Classpath people
to continue now that their goal of having a free implementation of
the Java class libraries has been attained in one fell swoop?
And how will GCJ be integrated into all of this (because that's one
project that is not going away for sure because native code compilation
will always be more interesting to some people than relying on JIT
compilation and the Hotspot optimizer)?
This is all so exciting! I can't wait for the future to arrive!
This is just a test to see how the code syntax high-lighting works:
|
||