java plugin instead of jinitiator on 64-bit windows _ just another day of apps dba's life
DESCRIPTION
How to make jinitiator work on Windows 64 bit systemsTRANSCRIPT
-
12/11/2014 JavaplugininsteadofJinitiatoron64bitWindows|JustAnotherDayofAppsDBA'sLife
data:text/htmlcharset=utf8,%3Ch2%20style%3D%22margin%3A%2010px%200px%200px%3B%20padding%3A%200px%205px%203px%3B%20fontwe 1/2
November13,2008 MarisElsins LeaveacommentGotocomments
JavaplugininsteadofJinitiatoron64bitWindows
JustafewdaysagoIstartedusingWindowsVistax64onmyPCandtodayIfoundthatthereareseriousproblemsrunningeBSformsusingJinitiatoronthisOS.InstallationofJinitiator1.8.1.xfailswithUnsupported16BitApplicationerror.
Unsupported16BitApplication
TheinstallationofJinitiator1.3.1.xcompletesnormally,butInternetExplorercrasheswhenItrytoopeneBSforms.Quickgooglingdidntgivemethesolutionfortheseproblems,soIdecidedtotryforcingbrowsersusingSunJavaplugintoopeneBSforms(ItshouldbepossibleasitsthewayhowformsopenonLinuxworkstations).Ittooksometime,butIfoundaway.
MyideawastoletthepopuppagethatdeterminesthewaytoruntheformsappletthinkweareonLinux,meaning,therewillbenoJinitiator,butSunJavapluginhastobeusedinstead,andthisishowitworked:
1.Checkthevalueofs_sun_plugin_verparameterinthecontextfileofOracleeBusinessSuiteenvironmentyouwanttorunformsfor.inMycaseitwas1.4.2_112.DownloadtheneededJREversion(1.4.2_11inthiscase)fromhttp://java.sun.com(http://java.sun.com/products/archive/j2se/1.4.2_11/index.html,chooseDownloadJ2RE,platformWindows,downloadfilej2re1_4_2_11windowsi586p.exe)andinstallit.Illrefertoinstallationdirectorylaterusing.3.InstallFirefox2.0.0.18todirectorycontainingversionnumberofJRE,e.g.MozillaFirefox1.4.2_11(incaseyoullneedtohaveanotherFirefoxsetupforadifferentversionofjavaplugin).Installationcanbefoundonfirefox.com.Itriedtousetheversion3.0.3butitcrashedduringloadingofjavaplugin,soItookapreviousmajorrelease.4.Runfirefox.exefromthedirectoryyouinstalledthebrowser().Enterabout:configintheaddressbarandconfigurethefollowingparameters:
1.Createanewparameterwithnamegeneral.useragent.overrideandvalueMozilla/5.0(X11ULinuxi686enUSrv:1.8.0.12)Gecko/20070718RedHat/1.5.0.120.3.el4Firefox/1.5.0.12Thiswillmakebrowsersaytoallthewebpages:Hello,Imfirefox1.5.0runningonLinux,andthatwillallowusavoidtheinitiationofJinitiator.2.Changevalueofparameterplugin.scan.SunJREtovalue9.9FirefoxhassomemechanismofcheckingwhatsthelatestJavaversioninstalledonthesystem.Thevaluewearesettingmeansthatfirefoxwilltrytofindjavaversionsequalorgraterto9.9,Inaotherwordswearedisablingthisfeaturebecause,itwouldmakefirefoxuseanynewerversionthan1.4.2_11ifsuchwasintalled.
5.Copyfiles\jre\bin\NP*.dllto\plugins6.Closeallfirefoxbrowsersincludinganyotherversionsyoumayhave.Startthefirefoxby
-
12/11/2014 JavaplugininsteadofJinitiatoron64bitWindows|JustAnotherDayofAppsDBA'sLife
data:text/htmlcharset=utf8,%3Ch2%20style%3D%22margin%3A%2010px%200px%200px%3B%20padding%3A%200px%205px%203px%3B%20fontwe 2/2
running\firefox.exeandchecktheversionofjavapluginthatwasfoundbythebrowserbyenteringabout:pluginsintheaddressbar.ThereshouldbeoneJavapluginsectionforeachNP*.dllfileyoucopiedtofirefoxpluginsdirectory.7.LogontoyoureBusinessSuiteenvironmentandtryrunningformsandkeepyourfingerscrossed!
ThegoodsideofthissetupisthatitallowsrunningeBSformsof64bitWindows(ItriedVista,butIguessthesamewouldworkonXPaswell)anddoesnotpreventusfromhavingnewerjavaversionsonthesamemachine.Thebadsidewehavetouseseveralinstallationsoffirefoxeachforadifferentpurposeandthesettingsofplugin.scan.SunJRE=9.9andalikeareglobalacrossofallfirefoxintallationsonthemachine,soitmeansifyouhaveanotherbrowserinstallationforlatestJRE,youhavetocopytheNP*.dlltothefirefoxpluginsdirectoryeachtimeyouupgradetheJRE.
IadmitIdidnttestthisprocesstomuch,soIllbegladifyoudroppedmeacoupleoflinesincaseyouspotanymistakes,sideeffectsorpossibleimprovements!
Heresalittleproofthatitworks
JavaplugininsteadofJinitiator