| 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
|
 |
 |
|
|
subject: Problem compiling a managed bean from command line in linux
|
|
|