I get an error message when i compile my program on an unix. In windows it works. I am using method replaceAll of String and i get an error mesage cannot resolve symbol or method not found Can someone help? [ May 07, 2003: Message edited by: viral trivedi ]
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
Probably a version issue. replaceAll() was added to the String class in version 1.4 of the JDK. What version are you running on Unix?
What are the versions of the JDKs that you are using? I would hazard a guess that the Windows version is an older one. .replaceAll() didn't exist until the advent of regular expressions in Java (Version 1.4, methinks)
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
viral trivedi
Greenhorn
Joined: Apr 24, 2003
Posts: 3
posted
0
Thank you, Windows was having 1.4 while Unix has 1.3