I have a Java app that launches with javaws.exe and needs Java 6u24. Using v4.6 SP1 I sequenced Java 6u24 as middleware then sequenced the Java app with a manditory dependency on the Java 6u24 sequence. It works as long as Java isn't installed on the local client. If Java is installed locally, it gets launched with the local javaws.exe in System32 and will fail if it isn't 6u24. What am I doing to cause it to launch local javaws.exe and not the sequenced middleware's javaws.exe?

The Implementation section of the java app's OSD is as follows. Could it be that the filename is %CSIDL_SYSTEM%\javaws.exe and that hits the local file system and not the dependency Java 6u24 sequence? If so, what should be there? Or does my Java sequence need a tweak?

[font="courier new"] <IMPLEMENTATION>
<CODEBASE HREF="RTSP://%SFT_SOFTGRIDSERVER%:554/FedTrade.Dealer_3.6_x86/FedTrade.Dealer_3.6_x86_4.sft" GUID="7563CD64-7C25-47F5-9BD7-F26291B6641F" PARAMETERS="-localfile &quot;%CSIDL_APPDATA%\Sun\Java\Deployment\cache\6.0\60\2272bdbc-2bb65425&quot;" FILENAME="%CSIDL_SYSTEM%\javaws.exe" SYSGUARDFILE="FedTrade.Dealer_3.6_x86\osguard.cp" SIZE="6859435"/>
<VIRTUALENV TERMINATECHILDREN="FALSE">
<DEPENDENCIES>
<CODEBASE HREF="RTSP://%SFT_SOFTGRIDSERVER%:554/JRE_6u24_x86/JRE_6u24_x86.sft" GUID="31F98E69-FA6C-4935-AB1B-C9A00A6C2028" PARAMETERS="" FILENAME="JRE_6u24_x86\bin\javaw.exe" SYSGUARDFILE="JRE_6u24_x86\osguard.cp" SIZE="111711543" MANDATORY="TRUE"/>
</DEPENDENCIES>
<POLICIES>
<LOCAL_INTERACTION_ALLOWED>FALSE</LOCAL_INTERACTION_ALLOWED>
</POLICIES>
<ENVLIST/>
</VIRTUALENV>
<OS VALUE="WinXP"/>
<WORKINGDIR/>
<VM VALUE="Win32">
<SUBSYSTEM VALUE="windows"/>
</VM>
</IMPLEMENTATION>
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
FYI -
Resolved this by changing filename from [font="courier new"]FILENAME="%CSIDL_SYSTEM%\javaws.exe" [font="times new roman"]to [font="courier new"]FILENAME="[Java 6u24 Sequence Directory]\bin\javaw.exe"
Answered 10/20/2011 by: VikingLoki
Second Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity