Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open after install 3.8.0 Win 11 and Java 8 #324

Closed
epizarro2 opened this issue Jan 17, 2022 · 14 comments
Closed

Can't open after install 3.8.0 Win 11 and Java 8 #324

epizarro2 opened this issue Jan 17, 2022 · 14 comments
Milestone

Comments

@epizarro2
Copy link

epizarro2 commented Jan 17, 2022

Describe the bug
After update ipscan to 3.8.0 setup, doesn't start

Java Virtual Machine Launcher

Error: A JNI error has occurred, please check your installation and try again

Rolling back to 3.7.6 and works

To Reproduce
Steps to reproduce the behavior:

  1. Go to site, download, update
  2. Click on ipscan shortcut
  3. See error

Versions (please complete the following information):

  • OS type and version
    Windows 11 Pro N 21H2 22000.434

  • Java version, 32 or 64 bit, how was installed (java -version):
    java version "1.8.0_311"
    Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
    Java HotSpot(TM) Client VM (build 25.311-b11, mixed mode)

  • Version of Angry IP Scanner
    3.8.0

Logs:

  • Please run Angry IP Scanner from command-line and see if any relevant logs were written. Paste them here.

Java Virtual Machine Launcher

Error: A JNI error has occurred, please check your installation and try again

Java Virtual Machine Launcher

A Java Exception has occurred.

@slaveniamh
Copy link

Seeing the same with W10Pro

@jimmisonr
Copy link

Seeing the same with W10Pro
Same here. Rolling back to 3.7.6 got me up and running again.

@slaveniamh
Copy link

A roll back got things running here too

@jerry-ne
Copy link

Hi guys, there is solution:
Last version to run under Java 8 is 3.7.6.
See details here.
So just update your JRE from v8 to 11.

@slaveniamh
Copy link

OK, that's it running, but it finds none of the 40ish systems on the LAN
image

@jerry-ne
Copy link

jerry-ne commented Jan 17, 2022

@slaveniamh : Yes, it is know bug, see opened #302
(Peronally I think it is about minor update JDK/Windows update, not ipscan. But it is only idea, I am not sure)
Give a chance to Liberica JDK and ipscan v3.8.0- it works :-)

@angryziber angryziber changed the title Can't open after install 3.8.0 Win 11 Can't open after install 3.8.0 Win 11 and Java 8 Jan 18, 2022
@angryziber
Copy link
Collaborator

Yes, unfortunately, Java 8 is not supported anymore, due to changes in SWT, the UI toolkit.

Some questions:

  • Which vendor of Java 8 do you use? Is it AdoptOpenJDK/Oracle/something else?
    • If it's 32-bit version, then there is a possibility to make it work
  • What is the vendor of Java 11 that doesn't detect any hosts?

@epizarro2
Copy link
Author

epizarro2 commented Jan 18, 2022

@angryziber

  • Which vendor of Java 8 do you use? Is it AdoptOpenJDK/Oracle/something else?
    Oracle 32 Bits, V 8 311, Changed to Last Liberica JRE and testing my other java apps. Seems fine.

angryziber added a commit that referenced this issue Jan 18, 2022
…st 32-bit version still run under Java 8 (most likely from Oracle)
@slaveniamh
Copy link

Followed the link from the download page and got-
bellsoft-jre17.0.1+12-windows-amd64.msi

@MelchiorGaspar
Copy link

MelchiorGaspar commented Jan 22, 2022

I am having the same issue...
unfortunately I deleted all my backups of v3.7.x when I grabbed v3.8.2 just now..
what is this open Java by is it safe? I have never heard of it before..
bell-sw.com

@angryziber
Copy link
Collaborator

@MelchiorGaspar please try the new Windows installer than includes a minimal JRE. You don't need to install a separate Java anymore that way.

BellSoft that releases Liberica is a consultancy company founded by former engineers from Oracle, they are one of distributors of OpenJDK after Oracle made their distribution not free.

@MelchiorGaspar
Copy link

MelchiorGaspar commented Jan 22, 2022

thx for the info... @angryziber
I will give try Liberica out... and remove the std Java RTE..
I have 2 or 3 java programs I use.. including BiglyBT... I tried Java 11 oh years ago and BiglyBT/Azureus would not run...
but sry I am tangenting...
so I install v17 or v11?
and standard or full JRE?

@angryziber
Copy link
Collaborator

angryziber commented Jan 22, 2022

@MelchiorGaspar latest is usually better and for running apps you need Standard JRE (runtime environment), not JDK (which is for development). If older apps won't run, you can also keep several different versions of Java on your machine.

And again, the new recommended way of running Angry IP Scanner is to use the installer that comes with a specially built minimal JRE version 11 (currently).

@MelchiorGaspar
Copy link

I am good now. I installed the full jre for Liberica v17 and the other programs I use run with it ^_^

@angryziber angryziber added this to the 3.8.2 milestone Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants