  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | weblogic.ejbc | weblogic.ejbc 2003-11-19 - By Vinod G
Back 1. SET JAVA_HOME 2. Verify JAVA_HOME/lib has tools.jar inside it. 3. The instead of using java in the ant.bat use JAVA_HOME/bin/java
Rgds Vinod
Ritesh_Srivastava <Ritesh_Srivastava@(protected)> Sent by: "A mailing list for Java(tm) 2 Platform, Enterprise Edition" <J2EE-INTEREST@(protected)> 11/19/03 05:52 PM Please respond to "A mailing list for Java(tm) 2 Platform, Enterprise Edition"
To: J2EE-INTEREST@(protected) cc: Subject: Re: weblogic.ejbc
Yes. tools.ajr is present in the classpath. The error persists -- --Original Message-- -- From: sven van't veer [mailto:sven@(protected)] Sent: Wednesday, November 19, 2003 6:54 PM To: J2EE-INTEREST@(protected) Subject: Re: weblogic.ejbc
do you have the tools.jar on the classpath for ant ?? -- --Original Message-- -- From: Ritesh_Srivastava [mailto:Ritesh_Srivastava@(protected)] Sent: Wednesday, November 19, 2003 9:03 AM To: J2EE-INTEREST@(protected) Subject: weblogic.ejbc
Hi, While doing weblogic.ejbc on Weblogic8.1 server, I am getting error as [java] Compiler class: 'com.sun.tools.javac.Main', not found [java] java.lang.ClassNotFoundException : com.sun.tools.javac.Main.
Build file location which is giving the error is: <java classname="weblogic.ejbc" fork="yes" > <arg value="-J-mx128m"/> <arg value="${jar}/${jar.name.SEC}${jar.naked.suffix}"/> <arg value="${jar}/${jar.name.SEC}${jar.ejb.suffix}.jar"/> <classpath> <pathelement path="${classpath.jar}"/> <pathelement path="${classpath.weblogic}"/> <pathelement location="${jar}/${jar.name.EAMClient}.jar"/> </classpath> </java> The same command works fine when I use Weblogic6.1. Any clues?
Regards Ritesh
**************************************************************************
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
************************************************************************** =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<br><font size=2 face="sans-serif">1. SET JAVA_HOME</font> <br><font size=2 face="sans-serif">2. Verify JAVA_HOME/lib has tools.jar inside it.</font> <br><font size=2 face="sans-serif">3. The instead of using java in the ant.bat use JAVA_HOME/bin/java</font> <br> <br><font size=2 face="sans-serif">Rgds</font> <br><font size=2 face="sans-serif">Vinod</font> <br> <br> <br> <table width=100%> <tr valign=top> <td> <td><font size=1 face="sans-serif"><b>Ritesh_Srivastava <Ritesh_Srivastava @(protected)></b></font> <br><font size=1 face="sans-serif">Sent by: "A mailing list for Java(tm) 2 Platform, Enterprise Edition" <J2EE-INTEREST@(protected)></font> <p><font size=1 face="sans-serif">11/19/03 05:52 PM</font> <br><font size=1 face="sans-serif">Please respond to "A mailing list for Java(tm) 2 Platform, Enterprise Edition"</font> <br> <td><font size=1 face="Arial"> </font> <br><font size=1 face="sans-serif"> To:   ; J2EE-INTEREST@(protected)</font> <br><font size=1 face="sans-serif"> cc:   ; </font> <br><font size=1 face="sans-serif"> Subject: Re: weblogic.ejbc</font></table> <br> <br> <br> <br><font size=2 face="sans-serif">Yes. tools.ajr is present in the classpath. The error persists</font> <br><font size=2 face="sans-serif">-- --Original Message-- --</font> <br><font size=2 face="sans-serif"><b>From:</b> sven van't veer [mailto:sven @(protected)]</font> <br><font size=2 face="sans-serif"><b>Sent:</b> Wednesday, November 19, 2003 6 :54 PM</font> <br><font size=2 face="sans-serif"><b>To:</b> J2EE-INTEREST@(protected)</font> <br><font size=2 face="sans-serif"><b>Subject:</b> Re: weblogic.ejbc</font> <br> <br> <br><font size=2 face="sans-serif">do you have the tools.jar on the classpath for ant ??</font> <br><font size=2 face="sans-serif">-- --Original Message-- --</font> <br><font size=2 face="sans-serif"><b>From:</b> Ritesh_Srivastava [mailto :Ritesh_Srivastava@(protected)]</font> <br><font size=2 face="sans-serif"><b>Sent:</b> Wednesday, November 19, 2003 9 :03 AM</font> <br><font size=2 face="sans-serif"><b>To:</b> J2EE-INTEREST@(protected)</font> <br><font size=2 face="sans-serif"><b>Subject:</b> weblogic.ejbc</font> <br> <br> <br><font size=2 face="sans-serif">Hi,</font> <br><font size=2 face="sans-serif"> While doing weblogic.ejbc on Weblogic8.1 server, I am getting error as</font> <br><font size=2 face="sans-serif"> [java] Compiler class: 'com.sun.tools.javac.Main', not found</font> <br><font size=2 face="sans-serif"> [java] java.lang .ClassNotFoundException: com.sun.tools.javac.Main.</font> <br><font size=3 face="sans-serif"> </font> <br><font size=2 face="sans-serif"> Build file location which is giving the error is:</font> <br><font size=2 face="sans-serif"> <java classname=" ;weblogic.ejbc" fork="yes" ></font> <br><font size=2 face="sans-serif"> <arg value="-J -mx128m"/></font> <br><font size=2 face="sans-serif"> <arg value="${jar} /${jar.name.SEC}${jar.naked.suffix}"/></font> <br><font size=2 face="sans-serif"> <arg value="${jar} /${jar.name.SEC}${jar.ejb.suffix}.jar"/></font> <br><font size=2 face="sans-serif"> <classpath></font> <br><font size=2 face="sans-serif"> <pathelement path ="${classpath.jar}"/></font> <br><font size=2 face="sans-serif"> <pathelement path ="${classpath.weblogic}"/></font> <br><font size=2 face="sans-serif"> <pathelement location="${jar}/${jar.name.EAMClient}.jar"/></font> <br><font size=2 face="sans-serif"> </classpath></font> <br><font size=2 face="sans-serif"> </java></font> <br><font size=2 face="sans-serif"> The same command works fine when I use Weblogic6.1.</font> <br><font size=2 face="sans-serif"> Any clues?</font> <br><font size=3 face="sans-serif"> </font> <br><font size=2 face="sans-serif">Regards</font> <br><font size=2 face="sans-serif">Ritesh</font> <br> <br><font size=2 face="sans-serif">******************************************** ****************************** </font> <br> <br><font size=2 face="sans-serif">This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.</font> <br> <br><font size=2 face="sans-serif">******************************************** ******************************</font> <br><font size=3 face="sans-serif">============================================ =============================== To unsubscribe, send email to listserv@(protected) .com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". </font> <br> <br><font size=3 face="sans-serif">============================================ =============================== To unsubscribe, send email to listserv@(protected) .com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". </font> <br> <br> <br> <br>
|
|
 |