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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41574
    
  54
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 - my free Android networking tools app
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