Re: jre version issues

2022-10-29 Thread Amitabh Choudhury
TQ Michael for the info. The JNI error on clicking the short-cut link from the desktop happens. For now I have set short-cut to a ".bat" file on the desktop and working around that mode. Have to looking into this JNI issue. Warm regards Amitabh Choudhury On Wed, Oct 26, 2022 at 9:48 PM Michael

Re: jre version issues

2022-10-26 Thread Michael Bien
oh. This sounds like you installed both, a 32bit and a 64bit JVM. Since windows keeps them separated in those two folders. java -version should show what is what in case of doubt. with JNI you have to be extra careful when the architecture changes. best regards, michael On 26.10.22 18:06, Am

Re: jre version issues

2022-10-26 Thread Amitabh Choudhury
TQ for this info Pieter. Have to play around with the Environment variables. Warm regards Amitabh Choudhury On Tue, Oct 25, 2022 at 10:26 PM Pieter van den Hombergh < pieter.van.den.hombe...@gmail.com> wrote: > the path is a sequence of directories. the algorithm that tries to find an > executa

Re: jre version issues

2022-10-26 Thread Amitabh Choudhury
Yes Ernie. I am not getting a JNI error when I attempt to open JAR from desktop shortcut. Have to figure out how to reconfigure. There were two folders from Oracle in the path C:\Program Files (x86)\Common Files\Oracle\Java\javapath C:\Program Files\Common Files\Oracle\Java\javapath Amitabh Choudh

Re: jre version issues

2022-10-25 Thread Pieter van den Hombergh
the path is a sequence of directories. the algorithm that tries to find an executable file uses the directies in path order and the first file in any directory that matches the request is the one used. so adding a directory at the end will have no effect if an earlier directory satisfies the reques

Re: jre version issues

2022-10-25 Thread Ernie Rael
On 22/10/25 12:01 AM, Amitabh Choudhury wrote: Hello Alexander and Ernie Thanks for the reply. Was able to get into the System variable of Windows 11 and found that "Path" started with "C:\Program Files (x86)\Common Files\Oracle\Java\javapath". Even though 1.18 was installed and placed in "Pat

Re: jre version issues

2022-10-25 Thread Amitabh Choudhury
Hello Alexander and Ernie Thanks for the reply. Was able to get into the System variable of Windows 11 and found that "Path" started with "C:\Program Files (x86)\Common Files\Oracle\Java\javapath". Even though 1.18 was installed and placed in "Path" at the end, the x86 javapath was being picked up

Re: jre version issues

2022-10-24 Thread Ernie Rael
On 22/10/24 10:14 PM, Ernie Rael wrote: On 22/10/24 9:50 PM, Amitabh Choudhury wrote: Hi I am not exposed to under the hood of netbeans settings, hence require hand-holding. Application is working fine in Netbeans IDE. But when I use a shortcut link to the jar file or try to run in the cons

Re: jre version issues

2022-10-24 Thread Ernie Rael
On 22/10/24 9:50 PM, Amitabh Choudhury wrote: Hi I am not exposed to under the hood of netbeans settings, hence require hand-holding. Application is working fine in Netbeans IDE. But when I use a shortcut link to the jar file or try to run in the console, I get the following error message.

jre version issues

2022-10-24 Thread Amitabh Choudhury
Hi I am not exposed to under the hood of netbeans settings, hence require hand-holding. Application is working fine in Netbeans IDE. But when I use a shortcut link to the jar file or try to run in the console, I get the following error message. ~ Error: A JNI error has occurred, please check