| Author |
Starting Java on Mac, problem setting up eclipse
|
Andrew Sornborger
Greenhorn
Joined: Jun 07, 2012
Posts: 3
|
|
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
Joined: Jun 07, 2012
Posts: 3
|
|
|
Many thanks!
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56540
|
|
|
My pleasure, hopefully someone using eclipse on a Mac can help you out. (I'm an IntelliJ guy, myself.)
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Andrew Sornborger
Greenhorn
Joined: Jun 07, 2012
Posts: 3
|
|
|
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
Joined: Jan 10, 2002
Posts: 56540
|
|
|
 |
 |
|
|
subject: Starting Java on Mac, problem setting up eclipse
|
|
|