File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Problem with JDK 5 support in Oracle 10g Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem with JDK 5 support in Oracle 10g" Watch "Problem with JDK 5 support in Oracle 10g" New topic
Author

Problem with JDK 5 support in Oracle 10g

Keerthi Sagar
Greenhorn

Joined: Apr 21, 2007
Posts: 28
Dear all,

We are using JDK 1.5 version in our project. We have some other jar files also (some 3rd party and some given by the client) which require JDK 1.5. We have Oracle 10g as database. The cleint is also using the Oracle 10g as database.

In this project, we have to generate some java code, and that code has to place in Database as Java Stored Procedure.

While placing the code in Java Stored Procedure, the code is not getting compile and we are getting an error because of version compatability with JVM of Oracle 10g. We are using JDK 1.5 and the JVM at Oracle 10g is using JDK1.4. Here we stuck.

So, we can do either one of this,
1. Aurora JVM Oracle 10g has to be updated, but at present it is not available.

2. We have to convert the current jar files which are generated using JDK 1.5 into JDK 1.4 compatable (if possible).

3. We have to rewrite the whole thing with older jar files.(But this is not suggestable)

Please help me in this regard. It is urgent.

Thanks in advance.


Thanks and Regards,<br />Y. Keerthi Sagar.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

1. Aurora JVM Oracle 10g has to be updated, but at present it is not available.

Nothing you can do here, you just have to wait.


2. We have to convert the current jar files which are generated using JDK 1.5 into JDK 1.4 compatable (if possible).

Doable, assuming you have not used any 1.5 features in your code? Just recompile it with for a 1.4 target JVM.


3. We have to rewrite the whole thing with older jar files.(But this is not suggestable)

If you have used lots of 1.5 language features, this is probably the only option you have.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
Consider Paul's rocket mass heater.
 
subject: Problem with JDK 5 support in Oracle 10g