Skip to main content

Java NIO Path Class

6 replies [Last post]
madhatter21
Offline
Joined: 2009-07-21
Points: 0

Hey,

I am a mac user working in the file io part of the tutorials. I have gone through it all but, now i am doing the nio part. I have not been able to find out how to get the path class of nio working yet. I know you can download the open jdk7, but how do you implement it on a mac. Any thing will help. Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sfshaza
Offline
Joined: 2004-06-03
Points: 0

Hi madhatter21,

Apple hasn't yet released a version of JDK7 for the Mac. What you can do in the meantime is create a VM on your Mac and download another OS. First you can download VirtualBox (it's free) and then create a VM. I created one for Ubuntu, but you can also use OpenSolaris. Then, within Ubuntu, download the current JDK7 snapshot.

There are useful tutorials on the web showing how to do this. I have several VMs that I can run as necessary.

madhatter21
Offline
Joined: 2009-07-21
Points: 0

Do you know when it might come out. thanks for the answer i am now running jdk7 on ubuntu

sfshaza
Offline
Joined: 2004-06-03
Points: 0

No, I have no insider knowledge. :)

If you are running Leopard on a 64-bit Intel, you can go to the Apple Developer Connection and download Java For Mac OS X Update 4. This updates Java from release JDK6 to 6u13. This includes the Nimbus look and feel, some plugin enhancements, translucent/shaped windows, etc. I am running that on my Mac.

Keep and eye on the Apple Developer Connection for updates to Java.
http://developer.apple.com/java/download/

Hopefully JDK7 will be coming out sooner, rather than later. :)

madhatter21
Offline
Joined: 2009-07-21
Points: 0

sfshaza,

Ha ok, so i am pretty noobish to linux os. I have ubuntu on vm and sys package manager the eclipse environment. I have downloaded the jre-7-ea-bin-b65-linux-i586-16_jul_2009.jar but do not know how to implement it into eclipse. Do you know how i would go about doing this?

sfshaza
Offline
Joined: 2004-06-03
Points: 0

No, sorry. I use NetBeans. :)

madhatter21
Offline
Joined: 2009-07-21
Points: 0

Have you gotten the Path class to work in netbeans? If so, how can i.