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 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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Newbie Forte JAR question." Watch "Newbie Forte JAR question." New topic

Newbie Forte JAR question.

Larry Lindstrom

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, 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 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".
wood burning stoves
subject: Newbie Forte JAR question.
Similar Threads
What does Project>Clean do in Eclipse?
Serial Port Ethernet
Running Hello EJB on WAS 4.0
looking for an IDE/dev tool
compilation problem