This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Running Eclipse on a Mac Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Running Eclipse on a Mac" Watch "Running Eclipse on a Mac" New topic
Forums: IDEs, Version Control and other tools Mac OS
Author

Running Eclipse on a Mac

Christopher Sharp
Ranch Hand

Joined: Dec 12, 2007
Posts: 152
Hello,

I'm writing this on behalf of a colleague who is using Eclipse for the first time and is having some problems. I sent here a war file of a JSF 2.2 application that I created with Eclipse on my computer, which uses Windows. She has a Mac, and unfortunately I am not at all familiar with Mac computers. Her message is as follows:

I am compiling with Eclipse a web application which uses JDK7 on a Mac OS 10.9 MacBookPro.
Everything works fine, but Eclipse validation fails with this strange message:

I've read on the web that I should change the Java preferences. but in Preference System/Java/ I only find onglets for General,Upgrade,Java,Security,
and Advance and not Web like on PC. So I do not know how to change the Java preferences not to complain about this type of variables.

Ignoring those errors, I can try to run my application, but I run into another problem:
"The server does not support version 3.1 of the J2EE Web module specification."

Here too I found on the web some indications how to go around this which do not work:
right click on my project name/properties/ and change the version of the Dynamic Web Module to a lower version.
Here I get an error message: "Cannot change version of project facet Dynamic Web Module to 2.5."
And it displays the same error message no matter which version I choses other than the latest 3.1 version.

So alternatively I have Run New_Configuration instead. But then here I get this error:

Exception occurred executing command line.
Cannot run program "/Users/fallard/Documents/workspace/simulator-jsf22-25/simulator-jsf22-25/.project" (in directory "/Users/fallard/Documents/workspace/simulator-jsf22-25/simulator-jsf22-25/build"): error=13, Permission denied

And it did not help to change the permissions of the directory tree.

So I am stucked. Some help?

She attached an image file containing error messages from Eclipse which just goes "String method(String), String method(String), String method(String)....." and so on for many lines. These errors seem to be produced in the xhtml file when an action is invoked with an argument, such as <h:commandButton id="continue" value="Continue" action="#{login.nextPage('option')}" /> This work perfectly correctly on my system.

Does anybody have any ideas?
Ron McLeod
Ranch Hand

Joined: Feb 12, 2013
Posts: 292
    
    5

Are you both running the same type and version of the web server?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

I don't see anything in this question that makes it JSF-related.

It sounds like the 2 systems are running 2 different versions (and perhaps brands) of web application server, but web application servers are not built into Eclipse. You have to install one and configure Eclipse to use it.

I'm moving this question to the IDE forum.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running Eclipse on a Mac
 
Similar Threads
IWAE0035E The Main-Class attribute must be defined in the application client module
157 Question Help and Resourses
IBM Exam 157 - Questions and Answers (Sample Exam)
IBM 157 ICE Sample Exam Answers
2 questions on eclipse 3.1