on 12-01-2005 3:19 PM
Hi everyone, I am developing an application to replace one string by another string with the method replaceAll() or replaceFirst() on NWDS v2.0.14.
I have changed the Java Build Path from jdk1.3 to j2sdk 1.4.2_10 in order to make those two methods available.
There is no problem in build and deployment. But when execute this application I get an error telling there is no such method. When I comment out the line with the method in the code I can run this application without any error. I am sure the error is caused by the method.
Can you tell me how to fix this problem? Should jdk of Java engine on server be upgraded?
Any hint will be appreciated.
Kind regards.
Wang
As you use NWDS 2.0.14 I guess you also run SP14 of your engine, so your engine should already run on top of JDK 1.4.
You can add a line like this to your code to verify it:
System.getProperty("java.version")
Regards,
Dieter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.