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 JSF and the fly likes Problem compiling a managed bean from command line in linux 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 » Java » JSF
Bookmark "Problem compiling a managed bean from command line in linux" Watch "Problem compiling a managed bean from command line in linux" New topic
Author

Problem compiling a managed bean from command line in linux

Iulian Nicula
Greenhorn

Joined: Nov 21, 2012
Posts: 2
Hi,


I have a problem compiling a class that is a managed bean and i am using ubuntu 12.0.4
The way I am trying to compile the class is from the console and the command is this



javac -d ../../web/WEB-INF/classes -classpath .:glassfish/modules/\*
com/corejsf/UserBean.java


of course instead of glassfish i use the actual path of glassfish but the jars in the classpath are not recognize by this command



this is the java code



it is the first example from core java server faces

I also tried to add the location of the jars to the CLASSPATH and still it doesn't work

Iulian Nicula
Greenhorn

Joined: Nov 21, 2012
Posts: 2
the path to glassfish was /home/glassfish3/glassfish ..............
instead of /home/USERNAME/glassfish3/.......



and this was the problem
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem compiling a managed bean from command line in linux
 
Similar Threads
initial page event
JSF validator problem
@managedbean annotation doesn't work
JSF newbie question
how to passing parameters to managed beans?