Author |
Message
|
accosun |
Posted: Fri Nov 03, 2006 5:42 am Post subject: JRE 1.5 |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 45 Location: Moscow
|
Hi, guys!
I've got a question about JRE, wich is supported by the broker (Windows platform). I created a JavaCompute node and link an external jar to it. The problem is that external jar has been compiled with JRE 1.5. And I've got the Exception "WrongVersionNumber" during deployment. Is it possible to reconfigure broker to use another JRE insted of buid in (1.4.2)?
Thank you in advance, Alex |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Nov 03, 2006 6:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Not on Windows. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
accosun |
Posted: Fri Nov 03, 2006 6:21 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 45 Location: Moscow
|
Thank you, jefflowrey!
I have to move my pilot environment to Linux platform... |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Nov 03, 2006 6:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I don't *know* that you can do this for v6 on Unix either. You could do this for v5 to enable support for JDK 1.4 instead of JDK 1.3.
I don't know if doing the same things for v6 will work, I don't know that using JDK 1.5 will work. I don't know if it will be supported even if it *does* work.
I posted what I did know - that you can't change the JDK/JRE that Broker uses on Windows. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
accosun |
Posted: Fri Nov 03, 2006 6:43 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 45 Location: Moscow
|
OK, I got it. Thanx again |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Nov 03, 2006 3:01 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
When compiling specify:
-source 1.4
-target 1.4
and the code will be compiled @ 1.4 level.... _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Nov 03, 2006 6:49 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I think it's a third-party JAR, fj. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
accosun |
Posted: Sat Nov 04, 2006 12:01 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 45 Location: Moscow
|
Yes, it's third-party jar, and it CAN NOT be recompiled with JRE 1.4. That is the main problem  |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Nov 04, 2006 6:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
But you should be able to encapsulate the functionality set it up as an RMI server (in it's own JVM) and call it via RMI from your current (broker) JVM right?
The interface can then be compiled/run at both levels 1.4 and 1.5...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Nov 06, 2006 4:34 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Accosun,
Out of idle curiosity, how urgent is it to get this node running with v1.5? Could you wait a month or two, for example? |
|
Back to top |
|
 |
accosun |
Posted: Tue Nov 07, 2006 12:48 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2001 Posts: 45 Location: Moscow
|
Well, I'm working with test environment right now, but I need to know for sure, that my configuration will work. And what will happen a month or two later? New version or fix will be available? |
|
Back to top |
|
 |
|