Hi Guys!

I need to create the .class files to go with my .java files and be
able to upload them onto a Solaris box. The .class files I create
with my Visual Cafe on my PC work fine but the .class files I create
with Code Warrior on my Mac don't. If I remove object code from my
HelloWorldServlet.mcp file and make HelloWorldServlet.java into an
application, I get "The file "servlet.jar" has no object code."
errors. If I remove servlet.jar from the project I get "not found in
import" errors.

Using Class Wrangler to disassemble the .class files, though, I
discovered the one difference. In the .class file created by
CodeWarrior, there appears this:


Attribute="AbsoluteSourcePath"(#32)     Length=2
        Source Path="/Macintosh HD/Desktop
Folder/Documents/Java/Practice/Servlets/HelloWorldServlet/HelloWorldSe
rvlet.java"(#48)

Now, I'm pretty new to this but I don't think the Solaris boxes I'm
working on can access my hard drive. :-)

How do I compile a .class file that doesn't include this?

Thanx

Dave
<>-----------------------------<>
Dave Babbitt
Web Developer
Web Architecture/Development
Customer Services Delivery
IP Telecom
GTE Internetworking

GTE Laboratories Inc.
40 Sylvan Road #5-244
Mail Stop 34
Waltham, MA 02451-1128

Tel:    (781) 262-7262
Fax:    (781) 466-2650
Pager:  (800) 759-8888 x110-6446
Alpha:  [EMAIL PROTECTED]
<>-----------------------------<>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to