This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi i want to use the stringtokenizer class from the java util package but dont want to downalod j2se to do this - can anyone point me to a smaller jar file which contains the java util package as a downalodable jar, so that i can just put in my web-inf/lib file ? cheers chris
How are you programming in Java without a full version of the Java API available? What environment are you using? As Ernest mentions, you can just import the StringTokenizer class in order to use it. As part of the core Java API, it should already be available from within whatever development environment you are using. Layne
Given the error message, I'd say that "WEBTOP" variable is not defined, and so javac simply can't find your source file.
Joined: Dec 06, 2001
The problem is that the javac command can't find your source file in the directory indicated. As mentioned, it looks like the WEBTOP variable isn't even defined. You can use the following command to see its value:
If you just get a blank line, then the variable isn't defined. If you set the value yourself in .bash_profile be sure you also have a line with something like
You can have more than one variable listed in the export command. Other than that, I've run out of guess about what you can do to fix the problem. Perhaps you can explain the directory structure of the location of your .java files. HTH Layne
Joined: Feb 26, 2003
thanks. the problem was my directory structure - the $WEBTOP variable was defined in the .profile file (i'm running the korn shell). now i'm getting the error follwing messages
in the compilation command i specify the webtop.jar file which contains the class named legallistbean, this is then referenced in the list class by the command - import webtop.beans.legalist; here is the class - i've changed the call to the LegalList class to the correct case but i can't see what else
Joined: Feb 26, 2003
its ok i've got it to work cheers
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com