Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Starting Java on Mac, problem setting up eclipse

 
Andrew Sornborger
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been trying to fix this problem by searching through the many posts, but still haven't been able to resolve it: I've downloaded the most recent Java Developer Package and installed it on my MacBook Pro with Mac OS X Lion 10.7.4. I've also downloaded Eclipse (IDE 1.4.2, Platform 3.7.2). It appears to be well-known that you have to change the Installed JREs in Eclipse to point to the correct location before Eclipse will know where to find the appropriate files for a build. I've made this change (along with several permutations, I am currently using /Library/Java/JavaVirtualMachines/1.6.0_32-b05-420.jdk/Contents/Home/), but still no joy creating a HelloWorld program. An error occurs when I try to create a new project:

"Archive for required library: '/Library/Java/Extensions/ctx.jar' in project 'HelloWorld' cannot be read or is not a valid ZIP file"

Does anyone out there have any experience with this problem? Any help would be appreciated.
 
Andrew Sornborger
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My pleasure, hopefully someone using eclipse on a Mac can help you out. (I'm an IntelliJ guy, myself.)
 
Andrew Sornborger
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Figured it out. Just had to turn the Error thrown by the compiler to a Warning. HelloWorld now appears to work.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic