First put a copy of the JRE somewhere, I put it in:

C:\Users\Public\IBM\ClientSolutions\ibm_sdk80

Then change the target in the shortcut to:

C:\Users\Public\IBM\ClientSolutions\Start_Programs\Windows_x86-64\acslaunch_
win-64.exe -vm C:\Users\Public\IBM\ClientSolutions\ibm_sdk80

The magic is the "-vm C:\Users\Public\IBM\ClientSolutions\ibm_sdk80" which
tells ACS where to look for its Java.


--
Jim Oberholtzer
Agile Technology Architects

-----Original Message-----
From: JAVA400-L <java400-l-bounces@xxxxxxxxxxxx> On Behalf Of Jeff Crosby
Sent: Tuesday, December 11, 2018 3:26 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: IBM i and Java Support - Steve Will

Been doing this tinkering on a spare Win10 desktop

So I added the JAVA_HOME even though what I read said it was only for the
java development kit.

Now the desktop shortcut to the .hod file works.

But the desktop shortcut to acsbundle.jar does NOT work. It's asking for an
app. There is no file association for .jar.

What is the proper thing to put there? My Win7 desktop associates it with
"Java(TM) Platform SE Binary" which is Oracle. I right-click the .jar file
and point it to java.exe, but it doesn't "take".


On Tue, Dec 11, 2018 at 3:48 PM Charles Wilt <charles.wilt@xxxxxxxxx> wrote:

JAVA_HOME needed to be set to the parent directory...not bin...

All is working (or at least starting :) )

Charles

On Tue, Dec 11, 2018 at 12:12 PM Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

I've removed all oracle JRE & JDKs...

I've download OpenJDK and added JAVA_HOME environment variable and
to my path.

from a command line..
java -version
returns
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.1+13) Eclipse
OpenJ9 VM AdoptOpenJDK (build openj9-0.11.0, JRE 11 Windows 10
amd64-64-Bit Compressed References 20181020_83 (JIT enabled, AOT
enabled)
OpenJ9 - 090ff9dc
OMR - ea548a66
JCL - f62696f378 based on jdk-11.0.1+13)

However, acslaunch_win-64 returns
Unable to load 64-bit Java module.
Retrying with Windows_i386-32/acslaunch_win-32.exe
Unable to load 32-bit Java module.

Charles

On Tue, Dec 11, 2018 at 10:58 AM Kevin <kevin@xxxxxxxxxxxxxxxxx> wrote:

Exactly..

All I did was remove any trace of java from my PC..including
cleaning the registry and all the relevant env vars..

Then placed the new java in a ....Java.... folder...and pointed the
path and JAVA_HOME vars to it.

Then everything worked..even my old version of ACS.

On 11/12/2018 17:50, Vernon Hamberg wrote:
The version of Java that Oracle wants paid for is 8 - only that -
so if you update from there, you will be fine. Question becomes,
can you update? The installer we have is for Java 8.

Tim Rowe, I believe, also has published instructions on setting
ACS to use a different version of Java, including IBM's, which
has no problems like this.

Cheers
Vern

On 12/11/2018 8:37 AM, Jeff Crosby wrote:
He never categorically answers this, but am I to infer that come
January, if we want to continue to use java from Oracle on
Windows desktops for ACS, we need to pay for it?

If so, I most likely misread earlier, because I was under the
impression it did not affect us ACS users.

On Tue, Dec 11, 2018 at 9:16 AM David Gibbs <david@xxxxxxxxxxxx>
wrote:

Interesting article by Steve Will about Java support...




http://ibmsystemsmag.com/blogs/you-and-i/december-2018/ibm-i-and-java-
support/


--
IBM i on Power Systems: For when you can't afford to be out of
business!

I'm riding 615 miles (Yes, you read that right) in the American
Diabetes Association's Tour de Cure to raise money for diabetes
research, education, advocacy, and awareness. You can make a
tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my
interactive donation map ...
https://mideml.diabetessucks.net/map (it's a geeky thing).

I may have diabetes, but diabetes doesn't have me!
--
This is the Java Programming on and around the IBM i
(JAVA400-L) mailing list To post a message email:
JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please
take a moment to review the archives at
https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: https://amazon.midrange.com



--
Kevin Passey

*KDP Software Limited*
http://www.kdpsoftware.co.uk
Tel:08450 604123
Linkedin: https://www.linkedin.com/pub/kevin-passey/12/807/890
IBM i Development
<https://www.kdpsoftware.co.uk/about-us/our-services>
IBM i Security & Audit
<https://www.kdpsoftware.co.uk/ibm-i-products/ibm-i-security>
IBM i Change Management & application security
<https://www.kdpsoftware.co.uk/ibm-i-products/ibm-i-change-manageme
nt>
--
This is the Java Programming on and around the IBM i (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please
take a moment to review the archives at
https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: https://amazon.midrange.com


--
This is the Java Programming on and around the IBM i (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.