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

ing2ofx window closes immediately after starting ing2ofx #5

Closed
fzoet69 opened this issue Feb 6, 2025 · 24 comments
Closed

ing2ofx window closes immediately after starting ing2ofx #5

fzoet69 opened this issue Feb 6, 2025 · 24 comments

Comments

@fzoet69
Copy link

fzoet69 commented Feb 6, 2025

installed ing2ofx_v1.1.0.0_setup.exe, and I run the ing2ofx program from the created shortcut on desktop. A window opens and shows some text in a flash before it closes again. No menu, no conversion.

OS: win11

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 6, 2025

Can you open a cmd window and go to the directory where ing2ofx id installed.
Then run the ing2ofx.exe, now you are able too see the text, I hope…
I have tested it on Win10… I do not have a Win11 by hand….

@fzoet69
Copy link
Author

fzoet69 commented Feb 6, 2025

Error: LinkageError occurred while loading main class kwee.ing2ofx.main.Main
java.lang.UnsupportedClassVersionError: kwee/ing2ofx/main/Main has been compiled by a more recent version of the Java Runtime (class file version 66.0), this version of the Java Runtime only recognizes class file versions up to 61.0

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

It is build against Zulu 22, can you update your Java environment?

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

I downloaded the latest java yesterday and the problem persists. Maybe something else i need to do? please advise.

download site: https://www.java.com/en/download/manual.jsp
downloaded package: https://javadl.oracle.com/webapps/download/AutoDL?BundleId=251656_7ed26d28139143f38c58992680c214a5

java -version
java version "1.8.0_441"
Java(TM) SE Runtime Environment (build 1.8.0_441-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.441-b07, mixed mode)

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

It is Java 8 (1.8) version, the latest Java is version 22.
Try download from:
https://www.openlogic.com/openjdk-downloads

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

still same issue after installing openlogic-openjdk-jre-22.0.2+9-windows-x64.msi with all features.
did uninstall jre-8u441-windows-x64.exe and zulu23.32.11-ca-jdk23.0.2-win_x64.msi since these apparently are the wrong packages anyway.

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

I am surprised that it is not working with zulu23.32.11 … Because I have installed zulu22.28.91-ca-jdk22.0.0-win_x64.msi.

But you should have a ik ing2ofx•.jar you could try it to run in a cmd window with following command:

java -jar ing2ofx•.jar

In the mean while I am building app against java 17

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

the ing2ofx_v1.1.0.0_jre_setup.exe has installed in C:\Program Files (x86)\ing2ofx. I do not see a .jar in that directory or subdirs. the main dir has 3 files: inf2ofx.exe, readme.md, and readme.txt. plus 3 folders: help, jre, and uninst

i also do not see .jar in the ing2ofx-1.1.0.0.zip file

Please note there are more ing2ofx programs out there with the exact same name (not always with java though). Searching the correct install folder may lead to confusion. I suggest some unique identifier will be added to the name.

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

I apologize, I see I have forgotten to upload the jars…
i am working on it..

I know there is a ing2ofx from Chemistry oid. it is a phyton app wich did not work, so I have rewritten that to java because I had troubles to get it working in a phyton development environment…

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

yes that python app is quite old. it worked until a few months ago the interface stopped showing up. prog runs but without gui.
of the other 7 programs i found only one works, partially. It cannot handle more than one account number in the csv download.

btw i also speak Dutch oid ;)

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

Ik heb een tweetal jar's geuploaded, dus waar je die exe van mij hebt gevonden, staan nu twee extra jar's die tegen java 17 zijn gebouwd.

Die kun je proberen door vanuit een cmd window te starten met commando:
java -jar ing2ofx-1.1.0.1.jar

of die andere jar proberen:
java -jar ing2ofx-jar-with-dependencies.jar

Verschil tussen beide is dat de tweede geen extra jar's nodig heeft, de eerste is afhankelijk van al aanwezige jar's op je systeem en is daarom kleiner.

ps.
Had al verwacht dat je Nederlands spreekt en waarschijnlijk ook met GnuCash bezig bent en bij ING zit ;)

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

ok ik heb nu geinstalleerd:

  • jre-8u441-windows-x64.exe
  • zulu23.32.11-ca-jdk23.0.2-win_x64.msi
  • openlogic-openjdk-22.0.2+9-windows-x64.msi

en voer uit: java -jar ing2ofx-jar-with-dependencies.jar

Exception in thread "main" java.lang.UnsupportedClassVersionError: kwee/ing2ofx/main/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

met de andere jar krijg ik

java -jar ing2ofx-1.1.0.1.jar
no main manifest attribute, in ing2ofx-1.1.0.1.jar

idd GNUcah en ing

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

Dan maakt íe nog gebruik van java 8, die heeft java class file version 52.0. java 17 heeft java class file version 61

Kun je commando:

echo %java_home%
C:\Program Files\Zulu\zulu-22

uitvoeren? Verwacht dat die de verkeerde kant op wijst.....
Zo ja, dan definitie van java_home aanpassen naar goede versie.

Kijk ook even naar definitie van path die moet ook juiste java versie bevatten...

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

echo %java_home%
C:\Program Files (x86)\ing2ofx\jre

ik heb C:\Program Files\Zulu\zulu-23

help me even met aanpassen van de defniities. ik ben al jaren linux gewend en weet de weg niet op win. Zou dit trouwnes ook in linux moeten zoeken

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

Ws. is er een bugje in mijn installer...
Ben even lui zie:

Omgevingsvariabelen instellen in Windows 11

Helpt dit?

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

Maar als het goed is, zou die jar van mij ook op linux moeten werken..

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

Maar als het goed is, zou die jar van mij ook op linux moeten werken..

mijn linux box is inmiddels wel erg oud, ben er een server van aan het maken.

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

Ws. is er een bugje in mijn installer... Ben even lui zie:

Omgevingsvariabelen instellen in Windows 11

Helpt dit?

Lui zijn mag, dat geeft tijd om nieuwe dingen te bedenken.

En ja, link hielp. path naar zul-23 gelegd. Even herstart nodig, dat stond er dan weer niet bij.
Ik krijg nu direct ING csv / SNS xml naar ofx converter.

Dank, ga ik verder testen!

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

Dus het werkt?
Dus dit issue kan gesloten worden?

Succes met testen, als je vragen hebt, dan hoor ik het graag.

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

Ben aan het kijken om over te gaan naar Linux ivm. end of life Windows 10....
Ben ook bezig met mailserver (Apache James).

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

Dus het werkt? Dus dit issue kan gesloten worden?

Succes met testen, als je vragen hebt, dan hoor ik het graag.

Het programma start. Mooie testcase. Installeren gaat niet zomaar.
Deze issue kan worden gesloten. Ik ontdekte wel dat er geen ofx bestand wordt geschreven, maar dat is een nieuw probleem.

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

Ben aan het kijken om over te gaan naar Linux ivm. end of life Windows 10.... Ben ook bezig met mailserver (Apache James).

Ik vind linux geweldig. Het heeft ook nadelen, en het is zeker een heel volwassen besturingssysteem. Het is dat Win11 op mn laptop al was geinstalleerd maar ander was ik bij ubuntu gebleven.

@fzoet69
Copy link
Author

fzoet69 commented Feb 7, 2025

Complimenten voor je support op dit issue!

@RSHKwee
Copy link
Owner

RSHKwee commented Feb 7, 2025

Thanks!

Maar nu java_home de goede kant op wijst, verwacht ik dat de exe het ook weer doet..

Hoop dat de helpfiles je verder helpen zie ? in menubalk ;)

@RSHKwee RSHKwee closed this as completed Feb 7, 2025
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

2 participants