File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Newbie Forte JAR question. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Newbie Forte JAR question." Watch "Newbie Forte JAR question." New topic
Author

Newbie Forte JAR question.

Larry Lindstrom
Greenhorn

Joined: Nov 02, 2000
Posts: 5
Hi Experts:
I'm still pretty new at Java, but I've built and used
JARs from the command line.
I've never built a JAR from within Forte, I'd like to use it to build the JAR for the Java Communications API demo BlackBox.
I knew I'd have problems compiling the main module BlackBox.java, but I wanted to see what errors were reported.
Some comm API types weren't found, so I went to project settings and added Comm.jar to FastJavac's classpath. That fixed the missing Comm types for he compiler.
Types defined in the 19 .java files weren't found either. This didn't surprise me. I know I need to build a Jar with these classes.
Working from the makefile in the BlackBox I start compiling the .java files. When I get to a source called ByteStatistics.java the compiler complains about a missing class that was I has just compiled.
So I bring up JAR packager and create the identify the new JAR archive under the blackbox package. I check "Mount as Separate Filesystem, I don't remember why, but I think I read that it was advantagious. I select the files I've already built, including the one that has the missing class, and add them to the new JAR.
I look at blackbox.jar, The files I've included are there, but each of their icons has a small x in a red box. When I lay the cursor on them a small box pops up with "Errors during class introspection (ClassNotFoundException)
I've read a little about introspection in the 21 day book, but I don't know much about it. I don't know why I have a problem with it.
Anyway... I come back and compile ByteStatistics, and get the same error "Class BufferSize not found in type declaration or import".
Suggestions?
Thanks
Larry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie Forte JAR question.
 
Similar Threads
Running Hello EJB on WAS 4.0
Serial Port Ethernet
compilation problem
looking for an IDE/dev tool
What does Project>Clean do in Eclipse?