[THIN] Re: Installing an older JVM

  • From: "Hamilton, Ronnie" <ronnie.hamilton@xxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 7 Apr 2010 10:26:44 +0100

Hi
 
I have successfully got this working after Warren Simondson answered
this question for me a while back
 
see attached mail 
 
Ronnie

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Andrew Wood
Sent: 07 April 2010 10:20
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Installing an older JVM



Your problem with installing multiple java instances on the same box is
going to be how the app looks at which java version is the latest. True
you can install different copies of JVM and they all end up in their own
directories - but the default copy of java that's run from the browser
can be a b*gger to manage: especially if you've different apps wanting
different versions. 

 

I've used Citrix's app streaming  to deliver different java versions to
the users - and that sits on top of AIE. App Streaming is more complex
to setup sure - might be more straightforward to just use AIE for a
couple of servers.  Remember you can't install an AIE app via an RDP
connection. 

 

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Angela Smith
Sent: 07 April 2010 01:59
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Installing an older JVM

 

Hi

My citrix Servers are running Java Ver 1.60_14.  I have an application
that requires JVM 1.42.  Whats the best way to address this?  Can I
simply install 1.42 or will that beak 1.60?  Should I uninstall 1.60,
install 1.42 then install 1.60?

Alternatively I can try AIE but I have never done this.  Any tips or
articles on virtualising JVM?

Thanks
Ang



________________________________

Find it on Domain.com.au Need a new place to live?
<http://clk.atdmt.com/NMN/go/157631292/direct/01/> 


Visit our website : www.ltai.ie 
 __________________________________________
Lufthansa Technik Airmotive Ireland Limited. Registered in Ireland. Reg. No. 
45999.   Registered Office: Naas Road, Rathcoole, Co.Dublin.
Lufthansa Technik Airmotive Ireland Leasing Limited. Registered in Ireland.  
Reg. No. 140891.  Registered Office: Naas Road, Rathcoole, Co.Dublin.
 __________________________________________
The information in this email and in any attachments is confidential and may be 
privileged. If you are not the intended recipient, please destroy this message, 
delete any copies held on your systems and notify the sender by return email. 
You should not read, retain, copy, disseminate, distribute, disclose or use 
this email or its contents in any way. Any such action is strictly prohibited. 
Thank you.


--- Begin Message ---
  • From: "Warren Simondson" <caditc@xxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 21 Jul 2009 06:19:37 +0100
Thanks Jeremy. We'll have to catch up again soon. I'm sure you're as busy as me 
at the 
moment. It's just crazy and now citrix are coming out with Feature Pack 2 - 
find me a week off 
someone. I've got 4 new freeware apps on the way any day now, but I've just got 
to get some 
spare time to polish them off. 

Cheers
-- 
Warren Simondson

Ctrl-Alt-Del IT Consultancy Pty Ltd

Website: http://www.ctrl-alt-del.com.au








On Tue, Jul 21st, 2009 at 2:25 PM, Jeremy Saunders 
<Jeremy.Saunders@xxxxxxxxxxxxxx> 
wrote:

> Nice stuff Warren! That's a clear example of what I was saying to a
> customer this morning that every problem can be resolved. You've
> just
> got to know how to think outside the square!
> 
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]
> On
> Behalf Of Warren Simondson
> Sent: Tuesday, July 21, 2009 12:13 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: AIE using IE and Java
> 
> Hi 
> 
> I've seen a lot of posts that try and isolate older versions of java
> due
> to incomatibility issues with new 
> java versions. AIE is one way of doing it but we have successfully
> used
> another way for many years 
> whereby multiple versions of java are installed on the system but we
> trick the app into using a specific 
> one on a per user basis.
> 
> Senario:
> 
> I have Java 1.4 and 1.6 installed on a Citrix Server. I have APP1
> (which
> uses java 1.4) published to 2 
> users on this server, and APP2 (Which uses java 1.6) published on
> the
> same server to the same 2 
> users.
> 
> Now everyone will know that under the control panel there is a java
> icon
> that you can turn on/off 
> specific versions of java, so if you need an app to use only one
> version, eg 1.4, then you turn 
> off /untick version 1.6 in the java control panel. When you tick or
> untick a specific version of java it 
> writes a file in the users individual profile, c:\documents and
> settings\<user>\Application 
> Data\Sun\Java\Deployment\deployment.properties. The follwoing files
> comes froma system with java 
> 1.5 and 1.6 and when all version are enabled it looks something like
> this:
> 
> #deployment.properties
> #Tue Jul 21 13:46:47 GMT+10:00 2009
> deployment.javaws.splash.index=C\:\\Documents and
> Settings\\poweradmin\\Application 
> Data\\Sun\\Java\\Deployment\\cache\\6.0\\splash\\splash.xml
> deployment.version=6.0
> deployment.browser.path=C\:\\Program Files\\Internet
> Explorer\\IEXPLORE.EXE
> #Java Web Start jre's
> #Tue Jul 21 13:46:47 GMT+10:00 2009
> deployment.javaws.jre.1.registered=true
> deployment.javaws.jre.1.osname=Windows
> deployment.javaws.jre.0.platform=1.6
> deployment.javaws.jre.0.registered=true
> deployment.javaws.jre.1.enabled=true
> deployment.javaws.jre.1.args=
> deployment.javaws.jre.1.location=http\://java.sun.com/products/autodl/j2
> se
> deployment.javaws.jre.0.osname=Windows
> deployment.javaws.jre.0.path=C\:\\Program
> Files\\Java\\jre6\\bin\\javaw.exe
> deployment.javaws.jre.0.product=1.6.0_13
> deployment.javaws.jre.1.osarch=x86
> deployment.javaws.jre.1.path=C\:\\Program
> Files\\Java\\jre1.5.0_09\\bin\\javaw.exe
> deployment.javaws.jre.1.platform=1.5
> deployment.javaws.jre.0.osarch=x86
> deployment.javaws.jre.1.product=1.5.0_09
> deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2
> se
> deployment.javaws.jre.0.enabled=true
> 
> when you untick java 1.5 in this example, the file looks like this:
> 
> #deployment.properties
> #Tue Jul 21 14:04:10 GMT+10:00 2009
> deployment.javaws.splash.index=C\:\\Documents and
> Settings\\poweradmin\\Application 
> Data\\Sun\\Java\\Deployment\\cache\\6.0\\splash\\splash.xml
> deployment.version=6.0
> deployment.browser.path=C\:\\Program Files\\Internet
> Explorer\\IEXPLORE.EXE
> #Java Web Start jre's
> #Tue Jul 21 14:04:10 GMT+10:00 2009
> deployment.javaws.jre.1.registered=true
> deployment.javaws.jre.1.osname=Windows
> deployment.javaws.jre.0.platform=1.6
> deployment.javaws.jre.0.registered=true
> deployment.javaws.jre.1.enabled=false
> deployment.javaws.jre.1.args=
> deployment.javaws.jre.1.location=http\://java.sun.com/products/autodl/j2
> se
> deployment.javaws.jre.0.osname=Windows
> deployment.javaws.jre.0.path=C\:\\Program
> Files\\Java\\jre6\\bin\\javaw.exe
> deployment.javaws.jre.0.product=1.6.0_13
> deployment.javaws.jre.1.osarch=x86
> deployment.javaws.jre.1.path=C\:\\Program
> Files\\Java\\jre1.5.0_09\\bin\\javaw.exe
> deployment.javaws.jre.1.platform=1.5
> deployment.javaws.jre.0.osarch=x86
> deployment.javaws.jre.1.product=1.5.0_09
> deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2
> se
> deployment.javaws.jre.0.enabled=true
> 
> note the statement, deployment.javaws.jre.1.enabled=false and
> deployment.javaws.jre.1.enabled=true.
> 
> One is off the other is on.
> 
> Now what we do is publsihe the application with a script that runs
> first
> that replaces the file with a 
> preconfigured file that enable one one version of java.
> Alternatively
> some of my engineers have a kix 
> script that just replaces the true/ false statement within the file,
> but
> either way works. the application 
> then lauches with the correct version of java enabled. If another
> application is run by the same user 
> that requires a different version of java, we simply again lauch the
> app
> with a pre-run script that 
> replaces the true/false statement for the required version of java.
> This
> does not effect the original 
> program still runnning that uses Java 1.4, becasue the application
> and
> jre only uses the 
> deployment.properties file on first lauch of the app and applies
> those
> settings from there on in.
> 
> So this might be of help to people or it might not. This was a
> rather
> short explanation becasue I hate 
> long winded posts, but you get the idea.
>  
> 
> -- 
> Warren Simondson
> 
> Ctrl-Alt-Del IT Consultancy Pty Ltd
> 
> Website: http://www.ctrl-alt-del.com.au
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Jul 21st, 2009 at 11:09 AM, Greg Reese <gareese@xxxxxxxxx>
> wrote:
> 
> > I did this with the Streaming Profiler and making a package by
> > choosing the
> > ie plugin option on the wizard.  I dd the opposie though.  I
> loaded
> > the
> > newer version and built the older on into the streamed package.
> > 
> > http://www.javatester.org/version.html  is a good site to use a a
> > check.
> > 
> > I would just send you my finished package but I don't work at that
> > location
> > anymore.  Sorry.
> > 
> > Good Luck.
> > 
> > Greg
> > 
> > On Mon, Jul 20, 2009 at 9:59 AM, Hamilton, Ronnie
> > <ronnie.hamilton@xxxxxxx>wrote:
> > 
> > >  HI,
> > >
> > > I have a web application that must a certain version of Java with
> a
> > limited
> > > number of users, These users also need to use a intranet site
> and
> > web
> > > application using an older version of Java. I would like the
> older
> > version
> > > to be the main one on the server.
> > >
> > > I want to Isolate the app running the newer version of Java with
> > IE.
> > >
> > > From what I can gather the steps required are as follows :
> > >
> > >    - Create the Application
> > >    - AIESetup "app environment" {install java}
> > >    - AIERUN iexplorer.exe
> > >    - Pick the Isolation environment when you publish the
> > application
> > >
> > >
> > > Thanks
> > >
> > > Ronnie
> > >
> > > Visit our website : www.ltai.ie
> > >
> > > __________________________________________
> > >
> > > Lufthansa Technik Airmotive Ireland Limited. Registered in
> Ireland.
> > Reg.
> > > No. 45999. Registered Office: Naas Road, Rathcoole, Co.Dublin.
> > >
> > > Lufthansa Technik Airmotive Ireland Leasing Limited. Registered
> in
> > Ireland.
> > > Reg. No. 140891. Registered Office: Naas Road, Rathcoole,
> > Co.Dublin.
> > >
> > > __________________________________________
> > >
> > > This email and any files transmitted with it are confidential
> and
> > intended
> > > solely for the use of the individual or entity to whom they are
> > addressed.
> > > If you have received this email in error, please advise by
> return
> > email and
> > > delete all copies of the message.
> > >
> > >
> > >
> > 
> 
> ************************************************
> For Archives, RSS, to Unsubscribe, Subscribe or 
> set Digest or Vacation mode use the below link:
> //www.freelists.org/list/thin
> Follow ThinList on Twitter
> http://twitter.com/thinlist
> Thin List discussion is now available in blog format at:
> http://thinmaillist.blogspot.com
> Thinlist MOBILE Feed
> http://thinlist.net/mobile
> ************************************************
> 
####################################################################
#################
> Confidentiality and Privilege Notice 
> This document is intended solely for the named addressee.  The
> information contained in the pages is confidential and contains
> legally privileged information. If you are not the addressee
> indicated in this message (or responsible for delivery of the message
> to such person), you may not copy or deliver this message to anyone,
> and you should destroy this message and kindly notify the sender by
> reply email. Confidentiality and legal privilege are not waived or
> lost by reason of mistaken delivery to you.
> 
####################################################################
#################
> ************************************************
> For Archives, RSS, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> //www.freelists.org/list/thin
> Follow ThinList on Twitter
> http://twitter.com/thinlist
> Thin List discussion is now available in blog format at:
> http://thinmaillist.blogspot.com
> Thinlist MOBILE Feed
> http://thinlist.net/mobile
> ************************************************
> 
> 
> 

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************

--- End Message ---

Other related posts: