• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 289
  • Last Modified:

Java agents and JDK level

Hi, I have Notes V6 which uses JDK 1.3.1.  I need to use some functionality in my Java agent that is only supported by a later version of the JDK though.  How can I do that?  Thanks.
0
pw05
Asked:
pw05
1 Solution
 
Bozzie4Commented:
You can't.  

Although it may be possible to upgrade the java version the server uses, I wouldn't recommend it... Maybe other people have other views on this, though

cheers,

tom
0
 
RanjeetRainCommented:
Depends on what functionality. Most of the functionalities packed with domino are precompiled. I do not think you can do it without resorting to reverse enginerring. If this is a generic functionality of the Java langueage (language feature) you may be able to do so. Though you might have to roll back your java run-time upgrade.
0
 
pw05Author Commented:
RanjeetRain - would you please elaborate what you mean by reverse engineering here?  Can you give an example of what can be done, and then what would have to be rolled back?  Thanks.
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
RanjeetRainCommented:
Take a close look at the Domino home directory and the Domino\Data\domino\java directory. Most of the functioalities have been provided in .jar files that are pre compiled Java classes. In order to change the existing behaviour of one of the functionalities provided by these classes, you may do some reverse engineering (sorry, i stop here. or a site moderator will have to rush here to remind you of the site policy) and get your work done.

If you are looking at using some generic language feature of a new compiler version, you may try upgrading the JRE domino uses. As of now I am not very sure how you can go about doing it, but it may not be that easy either. Ot ir may be very easy, never really tried anything like this. But this will be a risk game. I will suggest you to setup a test server for such research work.
0
 
Andrea ErcolinoCommented:
pw05,

I tried hard to upgrade the JVM of Domino 6 some months ago, but I failed because I didn't find any help anywhere. No documentation, no someone's experience, nothing. So I think Bozzie4 is right.

Probably you can find somewhere in the internet a third party java library that implements the functionality you need. For example, I was looking for the regular expressions classes contained in the JVM 1.4 (now in Domino 7!!) and I did find some free java libraries to accomplish that.

Good luck!

0
 
Andrea ErcolinoCommented:
Thanks, a lot !!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now