Topic: Java 8u211 x64 help needed to get plugin working  (Read 980 times)

Java 8u211 x64 help needed to get plugin working
« on: May 16, 2019, 11:36:19 PM »

thefuse

  • Jr. Chef
  • **
  • Date Registered: Jul 2016
  • Posts: 65
I am attempting to build a plugin for Java8u211 for my win10pese.So far i have captured the files placement and registry entries from an install on my host OS.Using the output of the capture i was able to successfully place all required files into the PE image.Using the Additional files plugin.Then i extracted all registry entries from the install and edited them to change all references from "C:" to "X:"..the edited reg file was then converted to script using regCPE with success.Java CPL.exe works fine and tells me that Java is installed and reflects the correct version etc.....here is where things get tricky...
I have several apps that need java to run,however one installer states that no java is present on the machine and asks to download and install java,for some reason it cannot find the java install.
I tried java portable with same result,Also i tried the plugin for java 10.0.0.2 listed around here with the result of the installer did find java,but sadly the java is out of date and also only for x64(installer requires x86 java) so not useable.I studied the plugin source and discovered that only HKLM local machine reg entries were needed for java to work so that simplified things a lot.
I tried also running the Java installer in PE to capture the install however it simply did not run and did not say why....
So i guess i have a few questions about it all....
1.I run the PE in virtualbox,would this fact make a difference to the java installer being unable to run etc?
   If i could capture install in PE,this would make things easier...
2.any tips on why an installer may not see the java install in PE?
3.Using the plugin for java 10.0.0.2,the installer will run and complete but will not run due to missing pdh.dll...pdh.dll is present in the build,but cannot be found and so it crashes.?
 A lot for head scratching and coffee being consumed.....any direction or tips from the forum would be greatly appreciated,regards..
3.
« Last Edit: May 17, 2019, 12:35:02 AM by thefuse »

Re: Java 8u211 x64 help needed to get plugin working
« Reply #1 on: May 17, 2019, 02:39:15 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
jre-8u211-windows-i586.exe (x86) Installation on WinPE x64 Build
NetFX 4.* - WoW64 - VC 8-9 Runtime - Win10 x64 source

Registry capture using regshot2 and related program folders included

Good Luck

EDIT
WhatChanged File List > Notice 1 System32 File
« Last Edit: May 20, 2019, 08:00:12 AM by James, Reason: attachment removed »

Re: Java 8u211 x64 help needed to get plugin working
« Reply #2 on: May 18, 2019, 06:51:49 AM »

thefuse

  • Jr. Chef
  • **
  • Date Registered: Jul 2016
  • Posts: 65
Wow James thank you so much for your efforts!I really appreciate it.Ill let you know how things go.will test tonight.awesome

Re: Java 8u211 x64 help needed to get plugin working
« Reply #3 on: May 20, 2019, 02:34:39 AM »

thefuse

  • Jr. Chef
  • **
  • Date Registered: Jul 2016
  • Posts: 65
Worked a treat!!....thank you so much. :thumbsup: :turtle: :you_rock:

Re: Java 8u211 x64 help needed to get plugin working
« Reply #4 on: May 20, 2019, 10:47:07 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Funny Thing Is > I changed my APP selections and can not duplicate the Installation Process....
 :sad:
« Last Edit: May 20, 2019, 10:47:36 AM by James »

Re: Java 8u211 x64 help needed to get plugin working
« Reply #5 on: June 05, 2019, 12:56:13 AM »

thefuse

  • Jr. Chef
  • **
  • Date Registered: Jul 2016
  • Posts: 65
I actually do it "the hard way" lol.I capture reg entries and file list then add files by Additional Files script,use CPE to add reg and hey presto!The actual issue turns out to be that the executable was looking for 32 bit JAVA only.I ended up extracting its files and reg entries and it worked great using the x64 Java. :thumbup: :clap: :bananaguit:

 

Powered by EzPortal