Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29760 > unrolled thread

Java 1.4 and Windows compatibility

Started bymarc.at.compass@gmail.com
First post2014-08-20 05:22 -0700
Last post2014-08-23 12:30 +0200
Articles 9 — 5 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Java 1.4 and Windows compatibility marc.at.compass@gmail.com - 2014-08-20 05:22 -0700
    Re: Java 1.4 and Windows compatibility Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-08-20 08:42 -0400
    Re: Java 1.4 and Windows compatibility Arne Vajhøj <arne@vajhoej.dk> - 2014-08-20 08:48 -0400
    Re: Java 1.4 and Windows compatibility Marcel Mueller <news.5.maazl@spamgourmet.org> - 2014-08-20 20:34 +0200
    Re: Java 1.4 and Windows compatibility Josip Almasi <joe@vrspace.org> - 2014-08-21 16:33 +0200
      Re: Java 1.4 and Windows compatibility Arne Vajhøj <arne@vajhoej.dk> - 2014-08-21 17:22 -0400
        Re: Java 1.4 and Windows compatibility Josip Almasi <joe@vrspace.org> - 2014-08-22 00:36 +0200
          Re: Java 1.4 and Windows compatibility Arne Vajhøj <arne@vajhoej.dk> - 2014-08-21 18:52 -0400
            Re: Java 1.4 and Windows compatibility Josip Almasi <joe@vrspace.org> - 2014-08-23 12:30 +0200

#29760 — Java 1.4 and Windows compatibility

Frommarc.at.compass@gmail.com
Date2014-08-20 05:22 -0700
SubjectJava 1.4 and Windows compatibility
Message-ID<57985256-49ac-43d0-bb4d-bff7068e22a9@googlegroups.com>
Hello,

Maybe this is an obvious question but I'm not very Java savvy so bear with me.
I have a Java application using Java RE 1.4.2_05 and I need to migrate it to Windows server 2012. I want to keep using the JRE it's designed for so I will not have to bother with incompatibilities between JRE versions.
I can download this Java Runtime Environment version 1.4.2 from Oracle but I am not sure if the JRE 1.4.2 will run on Windows 2012... Can anyone confirm this?
Could there be any other reason why an application would not run in JRE 1.4.2 on Windows 2012?

Thanks,

Marc

[toc] | [next] | [standalone]


#29761

FromEric Sosman <esosman@comcast-dot-net.invalid>
Date2014-08-20 08:42 -0400
Message-ID<lt2534$oqr$1@dont-email.me>
In reply to#29760
On 8/20/2014 8:22 AM, marc.at.compass@gmail.com wrote:
> Hello,
>
> Maybe this is an obvious question but I'm not very Java savvy so bear with me.
> I have a Java application using Java RE 1.4.2_05 and I need to migrate it to Windows server 2012. I want to keep using the JRE it's designed for so I will not have to bother with incompatibilities between JRE versions.
> I can download this Java Runtime Environment version 1.4.2 from Oracle but I am not sure if the JRE 1.4.2 will run on Windows 2012... Can anyone confirm this?
> Could there be any other reason why an application would not run in JRE 1.4.2 on Windows 2012?

     Let's look at the timeline (all dates from Wikipedia):

     1) 2002 Feb: Java 1.4 is released.

     2) 2008 Oct: Java 1.4 support ends.

     3) 2011 Sep: Windows Server 2012 first developer preview.

     4) 2012 Aug: Windows Server 2012 official release.

     In other words, you're asking whether there might be any problem
running a Java version that became unsupported four years before the
initial release of the O/S you want to run it on.

     Aww, gee, what could *possibly* go wrong?

-- 
esosman@comcast-dot-net.invalid

[toc] | [prev] | [next] | [standalone]


#29762

FromArne Vajhøj <arne@vajhoej.dk>
Date2014-08-20 08:48 -0400
Message-ID<53f4990f$0$297$14726298@news.sunsite.dk>
In reply to#29760
On 8/20/2014 8:22 AM, marc.at.compass@gmail.com wrote:
> Maybe this is an obvious question but I'm not very Java savvy so bear with me.
> I have a Java application using Java RE 1.4.2_05 and I need to migrate it to Windows server 2012. I want to keep using the JRE it's designed for so I will not have to bother with incompatibilities between JRE versions.
> I can download this Java Runtime Environment version 1.4.2 from Oracle but I am not sure if the JRE 1.4.2 will run on Windows 2012... Can anyone confirm this?
> Could there be any other reason why an application would not run in JRE 1.4.2 on Windows 2012?

I am 99.9% sure that it will run and 95% sure that the installer
will work (but Java can actually be XCOPY'ed so that may not be a
show stopper).

Windows typically run even very old applications without problems.

But I assume that you will actually test it before putting in in
production.

And you are aware that 1.4.2 is 32 bit and 2012 is only available
in 64 bit (but runs 32 bit code fine).

But another point: do you have a long term strategy on what you want to
do with this application. Even if you can use a new Windows version and
an 11 year old Java, then it seems like something in need of a more
permanent solution.

If it is a Java EE app server, then you would probably have to upgrade
all of Java, app server and your code.

But if it is a Java SE application then porting it to a new Java
version should not be that difficult/expensive.

Arne



[toc] | [prev] | [next] | [standalone]


#29772

FromMarcel Mueller <news.5.maazl@spamgourmet.org>
Date2014-08-20 20:34 +0200
Message-ID<lt2pnb$i8c$1@gwaiyur.mb-net.net>
In reply to#29760
On 20.08.14 14.22, marc.at.compass@gmail.com wrote:
> Maybe this is an obvious question but I'm not very Java savvy so bear with me.
> I have a Java application using Java RE 1.4.2_05 and I need to migrate it to Windows server 2012. I want to keep using the JRE it's designed for so I will not have to bother with incompatibilities between JRE versions.
> I can download this Java Runtime Environment version 1.4.2 from Oracle but I am not sure if the JRE 1.4.2 will run on Windows 2012... Can anyone confirm this?

I don't know whether it runs on 2012 server but we had no problems with 
Java 1.4.2 on 2008 R2 server. We were stuck with 1.4.2 because 1.5 
slightly changed the xml serialization causing remote function call to 
SAP to crash on the server side.
AFAIK 2012 Server is quite similar with respect to x86 apps. But of 
course, you have to test it.


Marcel

[toc] | [prev] | [next] | [standalone]


#29782

FromJosip Almasi <joe@vrspace.org>
Date2014-08-21 16:33 +0200
Message-ID<lt4vvp$55q$1@gregory.bnet.hr>
In reply to#29760
On 08/20/2014 02:22 PM, marc.at.compass@gmail.com wrote:
> Hello,
>
> Maybe this is an obvious question but I'm not very Java savvy so bear with me.
> I have a Java application using Java RE 1.4.2_05

LOL
I bet I know why:>

These are comments from my 9 yrs old ClassLoader.loadClass():

// 1.4.2_05 does not accept / as separator!
// < 1.4.2_04 requires / as a separator!

That was an unpleasant surprise; classes cannot be named as a.b.class, 
but have to be a/b/class.

Made me remember that particular subsubversion quite well:>

Worry not, the code will run on newer java versions.

... err, provided it's not a swing app. There's good chance for various 
troubles with GUI apps on java 1.6 and newer.
Troubles, like cannot close window by clicking on X.

Regards...

[toc] | [prev] | [next] | [standalone]


#29792

FromArne Vajhøj <arne@vajhoej.dk>
Date2014-08-21 17:22 -0400
Message-ID<53f6633b$0$292$14726298@news.sunsite.dk>
In reply to#29782
On 8/21/2014 10:33 AM, Josip Almasi wrote:
> ... err, provided it's not a swing app. There's good chance for various
> troubles with GUI apps on java 1.6 and newer.
> Troubles, like cannot close window by clicking on X.

What code sees that problem?

Arne

[toc] | [prev] | [next] | [standalone]


#29794

FromJosip Almasi <joe@vrspace.org>
Date2014-08-22 00:36 +0200
Message-ID<lt5s9k$flf$1@gregory.bnet.hr>
In reply to#29792
On 08/21/2014 11:22 PM, Arne Vajhøj wrote:
> On 8/21/2014 10:33 AM, Josip Almasi wrote:
>> ... err, provided it's not a swing app. There's good chance for various
>> troubles with GUI apps on java 1.6 and newer.
>> Troubles, like cannot close window by clicking on X.
>
> What code sees that problem?

I don't own it, and I don't remember exactly.
But it was some workarounds for swing bugs in 1.5, IIRC bugs specific to 
swing bindings to gnome, in dialog boxes.
Suddenly, 1.6 started working as specified, but app started misbehaving:)

Regards...

[toc] | [prev] | [next] | [standalone]


#29795

FromArne Vajhøj <arne@vajhoej.dk>
Date2014-08-21 18:52 -0400
Message-ID<53f6783f$0$298$14726298@news.sunsite.dk>
In reply to#29794
On 8/21/2014 6:36 PM, Josip Almasi wrote:
> On 08/21/2014 11:22 PM, Arne Vajhøj wrote:
>> On 8/21/2014 10:33 AM, Josip Almasi wrote:
>>> ... err, provided it's not a swing app. There's good chance for various
>>> troubles with GUI apps on java 1.6 and newer.
>>> Troubles, like cannot close window by clicking on X.
>>
>> What code sees that problem?
>
> I don't own it, and I don't remember exactly.
> But it was some workarounds for swing bugs in 1.5, IIRC bugs specific to
> swing bindings to gnome, in dialog boxes.
> Suddenly, 1.6 started working as specified, but app started misbehaving:)

Does not sound like something that will cause OP problem (Windows).

Arne

[toc] | [prev] | [next] | [standalone]


#29818

FromJosip Almasi <joe@vrspace.org>
Date2014-08-23 12:30 +0200
Message-ID<lt9qf9$503$1@gregory.bnet.hr>
In reply to#29795
On 08/22/2014 12:52 AM, Arne Vajhøj wrote:
> On 8/21/2014 6:36 PM, Josip Almasi wrote:
>> On 08/21/2014 11:22 PM, Arne Vajhøj wrote:
>>> On 8/21/2014 10:33 AM, Josip Almasi wrote:
>>>> ... err, provided it's not a swing app. There's good chance for various
>>>> troubles with GUI apps on java 1.6 and newer.
>>>> Troubles, like cannot close window by clicking on X.
>>>
>>> What code sees that problem?
>>
>> I don't own it, and I don't remember exactly.
>> But it was some workarounds for swing bugs in 1.5, IIRC bugs specific to
>> swing bindings to gnome, in dialog boxes.
>> Suddenly, 1.6 started working as specified, but app started misbehaving:)
>
> Does not sound like something that will cause OP problem (Windows).

Unless developer used linux for development, like I did:)
Anyway, there's just one of many such cases.

Regards...

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web