File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes How to change Oracle Compiler to JDK 1.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "How to change Oracle Compiler to JDK 1.5" Watch "How to change Oracle Compiler to JDK 1.5" New topic
Author

How to change Oracle Compiler to JDK 1.5

shashi wagh
Ranch Hand

Joined: Oct 30, 2008
Posts: 38
I have java program, when I compile it in Oracle I got following error
ORA-29521: referenced name java/lang/StringBuilder could not be found

because oracle has older jdk.

How do I change the compiler level to JDK 1.5 or above to compile my program.
Note: I don't want to change the code for older compatibility.


Please Help me...............

Thanks
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

What are you using to compile your source ? An editor ? The command line ?


[My Blog]
All roads lead to JavaRanch
shashi wagh
Ranch Hand

Joined: Oct 30, 2008
Posts: 38
I am using TOAD [editor] to compile it
Fatih Keles
Ranch Hand

Joined: Sep 01, 2005
Posts: 182
What is your current oracle version and internal jvm version? You can find many threads regarding this issue saying "it is not possible to upgrade internal jvm other than 11g". Better to downgrade your java code to 1.4 (if it is to be in 10g).

Regards,

Fatih.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change Oracle Compiler to JDK 1.5
 
Similar Threads
stack generic
WSAD 5.1.x --> JDK 1.5???
UnsupportedClassVersionError
How I can use higher than 1.4 version java in IBM RAD.
Wrong java version!