angryip / ipscan

Angry IP Scanner - fast and friendly network scanner
angryip.org
GNU General Public License v2.0
4.08k stars 715 forks source link

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

Closed epizarro2 closed 2 years ago

epizarro2 commented 2 years ago

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):

Logs:

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 commented 2 years ago

Seeing the same with W10Pro

jimmisonr commented 2 years ago

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

slaveniamh commented 2 years ago

A roll back got things running here too

jerry-ne commented 2 years ago

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 commented 2 years ago

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

jerry-ne commented 2 years ago

@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 commented 2 years ago

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

Some questions:

epizarro2 commented 2 years ago

@angryziber

slaveniamh commented 2 years ago

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

MelchiorGaspar commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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