aspose file tools*
The moose likes Beginning Java and the fly likes Java Util packages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Util packages" Watch "Java Util packages" New topic
Author

Java Util packages

Ganapathy palanisamy
Greenhorn

Joined: May 29, 2008
Posts: 22
hai guys,

this is my program ...when i compile this program i am getting this error..






E:\java-programming>javac StringReverseUsingStringUtils.java
StringReverseUsingStringUtils.java:2: package org.apache.commons.lang does not e
xist
import org.apache.commons.lang.StringUtils;
^
StringReverseUsingStringUtils.java:9: cannot find symbol
symbol : variable StringUtils
location: class StringReverseUsingStringUtils
String reverse = StringUtils.reverse(string);
^
StringReverseUsingStringUtils.java:10: cannot find symbol
symbol : variable StringUtils
location: class StringReverseUsingStringUtils
String delimitedReverse =StringUtils.reverseDelimited(string, ' ');

^
3 errors

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Apache Commons Lang is not part of the core Java library - it's a 3rd party library that you need to download, and then add its jar file to the classpath for compilation and running.


Ping & DNS - updated with new look and Ping home screen widget
Ganapathy palanisamy
Greenhorn

Joined: May 29, 2008
Posts: 22
thanks you dude...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Util packages
 
Similar Threads
Compiling Struts from CMD.
compile time errors, why?
cannot find symbol - compiler error?
How to Use StringUtil class to find the number of times a character/string/int occured in a String?