**FIXED**

I fixed the issue by making the following change in RDi.ini:


-vm
jdk-11.0.22+7/bin/javaw

-to-

-vm
jdk-11.0.22+7/bin

________________________________
From: Buck Calabro <kc2hiz@xxxxxxxxx>
Sent: Monday, August 5, 2024 5:37 PM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Error when updating RDi

I installed mine in a unique directory. Not one that comes with Windows, so
no Program Files, Users, none of that. There's something special about the
way Windows deals with those special directories and I can't be fussed to
work out what. So...I avoid them completely.

When installed in C:\rdi9800, I run RDi as a normal user. I update it as a
normal user. It just seems easier.

If you are installed in \Program Files or something like that and want to
move, start the current RDi, File, Export to save your settings. Then do a
fresh install in a directory that you control, not Windows. Start that RDi
and File, Import your settings.

I advise periodically exporting settings as a means of recovering.
Likewise, saving a copy of the workspace, but that's pretty substantial.

I hope that helps.

--buck

On Mon, Aug 5, 2024, 18:22 Weirich, John via WDSCI-L <
wdsci-l@xxxxxxxxxxxxxxxxxx> wrote:

Additional information -

It seems when I run RDi.exe with elevated authorities, it starts fine.
It's only when I run as a standard user that I get the error.

Things I have tried so far:


1.
Confirmed the jdk files are where RDi expects them to be
2.
Rebooted, no change in behavior and the error dialogue appears before
anything else loads
3.
Ran with elevated permissions (which is logged at my organization) and it
starts fine, and upgraded
4.
Closed and ran again as standard user and I continue to get the error
message.

Running RDi with elevated authority is not a long term solution for me at
my organization. Are there other things I can try?

thanks,

John

________________________________
From: Weirich, John <John.Weirich@xxxxxxxxxxxxxxxxxxx>
Sent: Monday, August 5, 2024 4:39 PM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Error when updating RDi

So, I still do have exactly as described.

* My base RDi folder is "C:\IBM_RDi98\IBM Rational Developer for i"
*
Inside that folder I have RDi.exe and RDi.ini which has:
-vm
jdk-11.0.22+7/bin/javaw
*
javaw.exe does exist in that path "C:\IBM_RDi98\IBM Rational Developer for
i\jdk-11.0.22+7\bin"

Seems like it checks out, but alas the error tells me its not there.
Something is broken with my install.

________________________________
From: Buck Calabro <kc2hiz@xxxxxxxxx>
Sent: Monday, August 5, 2024 10:19 AM
To: wdsci-l@xxxxxxxxxxxxxxxxxx <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Error when updating RDi

On 8/5/2024 10:54 AM, Weirich, John via WDSCI-L wrote:
I went through an update process from within RDi 9.8.0. I was not
logged into RDi with an administrator account. After the process
completed, upon restarting RDi I get the following message:

A java Runtime Environment (JRE) or Java Development Kid (JDK) must be
available in order to run RDi. No Java virtual machine was found after
searching the following locations:
jdk-11.0.22+7/bin/javaw

Where is this mentioned path defined - I do not have a JAVA_HOME
environmental variable defined on this machine. How can I correct this so
that RDi will start again?

It's supposed to come with RDi.
In my case, I installed RDi into c:\RDI9800 on my Win 10 (now Win 11)
machine. So the JRE that RDi wants is located in C:\rdi9800\IBM Rational
Developer for i\jdk-11.0.20.1+1\bin

I can see this path in c:\rdi9800\rdi.ini

-vm
jdk-11.0.20.1+1/bin/javaw

--
--buck

http://wiki.midrange.com
Your updates make it better!



---------------------------------------------------------------------- The
information contained in this message is confidential proprietary property
of Nelnet, Inc. and its affiliated companies (Nelnet) and is intended for
the recipient only. Any reproduction, forwarding, or copying without the
express permission of Nelnet is strictly prohibited. If you have received
this communication in error, please notify us immediately by replying to
this e-mail.
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.




---------------------------------------------------------------------- The information contained in this message is confidential proprietary property of Nelnet, Inc. and its affiliated companies (Nelnet) and is intended for the recipient only. Any reproduction, forwarding, or copying without the express permission of Nelnet is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail.

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-2024 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.