Apple Updates to Java 1.4.1
A user writes, "Apple has caught up with the times and updated their Java to 1.4.1, bringing it completely up to date with the newest release from Sun. It now takes advantage of Aqua and Quartz Extreme, is usable via Universal Access, and can be controlled through AppleScript." It provides 1149 new classes over 1.3.1, a new native I/O API, updated XML tools (SAX 1.0/2.0, DOM 1.0/2.0, XSLT), I18N and L10N enhancements for Unicode 3.0, regexes, IPv6, faster loading of applets, improved caching, storing of certs in the Keychain, faster UI, more Aqua-like UI ... and native Java applet support for Safari.
Time to try IDEA
Guvf vf abg n EBG zrffntr
Does this mean Limewire will actually be usable? I switched to Acquisition a few weeks back miss some of Limwire's more advanced features.
I do development work (well, or did, but that's another isue), and the Lnux systems use Tomcat with Java 1.4 - mainly because it has the Regular Expressions stuff built in.
I usually develop things on my Mac laptop, then transfer thing over to the official test system. But since I only had Java 1.3, it was harder to develop my stuff for them - I had to have a separate Linux box just for me to use as a mini-server.
Well, I no longer work there and am about to take another job, but at least I an update my system and work on my new web publishing system.
My only fear? That Java 1.5 will be released in a few weeks....
52 Weeks, 52 Religions with John Hummel
Full release notes from Sun Microsystems on release 1.4.1, includes overview of changes and detailed description on many updated packages, etc.
Apple is just ON FIRE lately. They surpassed the 1GHz barrier and now this.
Did the developer preview from last Oct have the extra goodies? I hope it's really fast, but of course, I hope everything's really fast.
I've been waiting for this for months (from before java 1.4.1 even existed actually, when all I wanted was a small update to fix some bus with the previous JVM). It fixes alot of bugs in good ole fashioned AWT, from what I understand. Most were nothing I couldn't work arround, but it was still a pain.
Hopefully this will provide a serious speed boost too.
It's a good day to be a mac java developer.
"The worst tyrannies were the ones where a governance required its own logic on every embedded node." - Vernor Vinge
I'm happy to see the points they have been working on, just hope it makes Java on the mac more workable, and especially, LESS a pain in the ass!
I have a weird question. Other than Limewire and JEdit, what end user applications that are *useful* are available for OSX? I mean I looked around and while Java seems great for servers, I just don't see that many useful applications I'd use. Even with JEdit, BBEdit is vastly superior.
Well ive installed 1.4.1 from software update and so far its fixed some bugs that were annoying me (some applets didnt work in safari) and performance is definately up. A friend noted an almost 4 fold increase in loading time for one of his projects. Go Apple! :)
...Java is Appleing
Repeal the DMCA!
Just installed it and now I can finally scroll a web page with an embedded Java applet without leaving behind artifacts in the broswer window from the applet. The difference is obvious in a page like news.bbc.co.uk were the news ticker no longer corrupts the whole page view when scrolling.
Anyone? Or is it just me?
Apple's 1.3 VM was DEFINATELY NOT CLI ONLY.
It had a perfectly reasonable AWT/Swing implementation which was derived from the old Mac OS 9 implementation and ran ontop of Carbon, which means it did have the Aqua look and feel and it did run ontop of Quartz.
You can just about make that out in this diagram: http://developer.apple.com/macosx/images/sysarch_s m.gif
Now, we can talk about reimplementing AWT/Swing ontop of Cocoa rather than the crufty 20 year old foundation that is Carbon - and probably we can agree its a great thing, but it sure did take a long time. Its definately not the case that this is the first release with an Aqua GUI though!
Lord Pixel - The cat who walks through walls
A little bigger on the inside than out
But I can't seem to get the Aqua Look n Feel working w/ swing apps? Am I missing something? It worked fine w/ Netbeans in Java 1.3.
reech bee-yond ur clip-0n
Someone mod the parent up as its parent is wrong.
I first saved it as the default, to appear on the front page, by mistake. I corrected it so that it would appear on the Apple section page. The Mysterious Future sometimes lies. :-)
and my favorite, Arachnophilia, finally works on my mac! I am now happy again..
:)
Well, that and my dos xx is right here as well
For the price why don't you buy WebObjects 5.2 and use ProjectBuilder with InterfaceBuilder already?
Or better yet since you are discussing client-side apps you don't need to spend one penny and just download Apple's tools.
Of course if you are adamant and have lots of use with IntelliJ great but you'd be surprised how nice PB/IB work.
The "Java 1.4.1 Developer Tools Update" available via https://connect.apple.com/ -- after you log in, it's under "Java" under "Download Software". There used to be "Recent Updates" section where they put stuff like this, but it seems to have gone missing.
What I really want to know is why it's 48.6mb for the dev tools on top of the 26mb (I didn't write it down, so I could be wrong) for Java 1.4.1 itself.
I don't think the parent post meant that Java for OS X run only from the command line (obviously it didn't), or that it didn't support Swing (well, duh, of course it did), but that support for these things was weak -- which was certainly true.
Mr. Cornelius is right that Java has been something of a second-class citizen on OS X. Java is privileged to be a real citizen of an OS at all -- on Linux it is a sort of visiting dignitary, and on Windows it is a sort of persecuted immigrant. But OS X Java wasn't perfect: Swing apps, while they looked great, definitely didn't run as smoothly as Carbon and Cocoa apps. Applet support was mostly good, but still spotty. Apps were slow, especially UIs and graphics in general. And, of course, Java was waaaay out of date.
The new version of Java is a huge leap forward in all these problems. With this newest release, it looks much more like a "first-class" citizen than it ever did before.
The Mysterious Future? Anyone feel like doing me a favor and explaining?
It's nice to have OS X remind me of updates that actually IMPROVE performance. This is real nice coming from a Windows world where every week there's a new "Windows update," fixing some bug that was discovered 2 weeks before.
The difference? In Windows land an update meant, "Fuck, what 'security patch' is ready to be downloaded now? This is so annoying." In OS X, when software update pops up I'm generally wondering what new improvements there are to things overall, and happy about it.
The Mysterious Future is a new feature for slashdot subscribers. If you pay, you get to see stories somewhat before they appear for everyone else.
This feature had been open to editors, so that they could catch mistakes. This change does not effect regular users at all (except that now some subscribers are mirroring ahead of time for us).
Great Grandaddy poster was asking why the story disappeared, and pudge was saying that it's cause he changed his mind about whether or not it should have been posted to the front page.
There are no trails. There are no trees out here.
does this version allow one to run Cisco's CiscoWorks? Please, someone give me an honest yes!
--Kimota!
Who moderates the meta-moderators?
"Come for the Java and stay for the Cocoa and the Java." Last year it was just "Come for the Java stay for the Cocoa".
Yeah But it broke my blender!!!!!!! www.blender.org ..and this is on topic, blender is a 3d rendering tool that apparently used java to do its work on OSX
Cheers
Finally, I don't have to ssh into my account at work or run my Gentoo partition to have a working java 1.4.1. (don't get me wrong, I got lots of kudos for having a 10gig linux partition on my TiBook, but kudos don't get my applications working on OS X)
And for those of you wondering what all the fuss is about, all I have to say is 'nio.'
hugs & puppies
i have a applet that creates cartograms and the difference is amazing (go to the 'map' menu item and create a cartogram with 10 or so iterations). previously, one would see each iteration rendering, while 1.4.1 in safari almost instantaneously creates it.
i noticed on reboot that 1.3 and 1.4.1 were loading up. java is not my forte', so i have 2 questions;
1) is this supposed to happen?
2) if the answer is yes, why? is apple going to remove 1.3 at some point, or are both required, kind of like a 'classic' enviroment for older java apps? or is 1.4.1 backwards compatible?
(geez, that's more like 4 questions )
*** For a better tommorow, change your life today ***
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
LimeWire(Acquisition)/0.8
LWMain A
SettingsManager: loadDefaults()
ConnectionManager initialize()
And so forth.
"Reality is just a convenient measure of complexity" -Alvy Ray Smith
...then you'll love (?) the conclusions on this site - We should have the guy that did that page restest with Safari.
This feature had been open to editors, so that they could catch mistakes.
And since it worked so astoundingly well for that, the powers that be decided to open it up for paying customers, too.
I write in my journal
Enough with the fricken restarts... this isn't part of the OS.. I'm getting a bit sick of the restart requirements for most of the recent updates...
All the icons and text are messed up.
Wish I didn't upgrade and it doesn't seem to be possible to remove the update
Hopefully I'll be able to play Word Whomp from Pogo games (http://www.pogo.com) at a decent speed now.
There's never enough when you have too little
Will Borland release JBuilder 8 for Mac OS X?
From the Apple website:
"On other platforms, each Java application consumes some system memory. So you might end up using more memory than you need to when running multiple Java applications. Other languages, such as C or C++, solve this problem using what?s called shared libraries. Apple developed an innovative new technology that allows Java code to be shared across multiple applications. This reduces the amount of memory that Java applications normally use. And it fits right into Sun?s Hot Spot VM, allowing Mac OS X to remain compatible with standard Java. In addition, Apple has given this implementation to Sun so the company can deploy it on other platforms. Just one example of how Apple supports standards and shares ideas to benefit all"
That's very nice of them.
So I still have to use a Windows machine to access Hushmail. So much for "write once, run anywhere," huh.
Call (206) 338-5780 COLLECT for information about a genuine BA, BS, MA, MS, MBA, or Ph.D.
I first thought of this but realised the following:
I don't think it is a bad price to pay considering the performance of JAVA applications on OSX ... but your right it was annoying, I hate losing my uptime on the powerbook :)
I installed and ran a perfunctory test of the new Java Runtime last night. I then fired up Robocode. I have a Powerbook G4 550, and in the past, I would see around 12 fps during the battles. With the new Java, I was seeing 24 fps consistently!
This is a great leap forward, IMHO.
"Smart is sexy." -- D. Scully ("War of the Coprophages")
Does this mean Eclipse will work on OS X?
Threw this together just in case anyone needed a
/Developer/Applications/JBuilder/JBuilder.framewor k/bin ./startJBuilder.sh
../lib -name *.jar`
o ut .name=JBuilder'
y st em/Library/Java/Extensions/MRJToolkit.ja r'
quick way to get jbuilder working from the
command line. I've only tested it with jbuilder 6.
Paste it into a file called startJBuilder.sh
or whatever and put the file into the
directory and do a chmod +x startJBuilder.sh. Then you can run it from there with a
Should work with any version of jbuilder and will use the default jre you have installed.
------------- startJBuilder.sh -------------
#!/bin/bash
JARS=`find
CP=.
for X in $JARS; do
CP=$CP:$X
done
DEFS='-Dcom.apple.mrj.application.apple.menu.ab
DEFS=$DEFS' -Dapple.laf.useScreenMenuBar=true'
DEFS=$DEFS' -Dapple.awt.showGrowBox=true'
BOOTCLASS='-Xbootclasspath/p:../lib/lawt.jar:/S
java $BOOTCLASS $DEFS -cp $CP com.borland.jbuilder.JBuilder
I use an old TiBook 400 that doesn't support Quartz Extreme, and line graphics in applets lost that beautiful anti-aliasing they used to have with Java 1.3. Sure, applets are faster now with 1.4.1, but I'd rather have a slower, good looking applet than this...
-- Free speech is only free if your time is worth nothing.
Shouldn't that be "Come for the Java and stay for the Mocha"?
It's about freakin' time that OS X was brought up to speed. Finally gives a chance for Dungeon Master Java to be played on OS X. hurrah hurrah.
New Lives for Old Bones. Man, I loved this game back on my ST, and now I'm thrilled to have it back at my fingertips.
Rendering hints
apple.awt.antialiasing
Causes graphic primitives like line, arc, rectangle, and so on to be painted with antialiasing. By default text will also take this setting, though you can override that using apple.awt.textantialiasing. Even with this flag set to true from the command line, you may still set the KEY_ANTIALISING rendering hints for specific objects.
Although this is false by default, it is set to true when you use the Aqua look and feel. This makes the behavior more consistent with the native Mac OS X user interface. Note that even if you set this to false for an application that uses the Aqua look and feel, Aqua user interface elements themselves will still be drawn with antialiasing.
To any of you using JBuilder on OS X. I'm thinking about finally making the switch from a dual boot linux/windows laptop to a new Powerbook for development. I've got some questions.
- I've heard some pretty nasty things about JBuilder's performance on OS X. Have any of these been resolved with this 1.4.1 release. Or was this not an issue. i.e how well does JBuilder run under OS X?
-
Are there any other quirks related to using it?
Thanks in advance.Just one little problem...
IT DOESNT WORK
sometimes I hate Apple...
I was hoping that apple had fixed the problems with the antialiasing settings not being respected.. but the situation in 1.4.1 is even worse.
if you set apple.awt.textantialiasing=false, not only is it Ignored and your text is antialiased (a horrible "washed out" look that gives me a terrible headache), but the apple.awt.textantialiasing value is always set to the mysterious value "on" (maybe that is apple-speak for "true" ??)
For the metal look&feel, it seems that the text is not antialiased... so thats the one you have to choose until apple fixed this problem
As pointed out elsewhere, I can explicitly call the old Java from the command line. It's a bummer, as I was hoping the update will increase performance in this game.
-- "This world is a comedy to those who think, a tragedy to those who feel."