Comments (14)
To execute the jar file, run this command:
java
-cp ./Adelbs-ISO8583-1.1.1.jar org.adelbs.iso8583.Main
I'll create the manifest as soon as possible.
from iso8583.
from iso8583.
Hi Ed!
What JDK version did you use to compile it?
What java -version are you using to run it?
What is your operating system?
This line refers to this code:
setIconImage(Toolkit.getDefaultToolkit().getImage(Main.class.getResource("/org/adelbs/iso8583/resource/package.png")));
So, check if inside the generated jar file there is this image: /org/adelbs/iso8583/resource/package.png
If not, there is something wrong with the build.
from iso8583.
from iso8583.
Hi Adelbs
I could already compile with the version of java 1.8 on my Mac osx 10.13.6
> Schmuckes-MacBook-Pro:target schmucke$ java -version
> java version "1.8.0_202"
> Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
> Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
>
but I had the same error
> Schmuckes-MacBook-Pro:target schmucke$ java -cp ./Adelbs-ISO8583-1.1.1.jar org.adelbs.iso8583.Main
> Exception in thread "main" java.lang.NullPointerException
> at sun.awt.SunToolkit.imageCached(SunToolkit.java:899)
> at sun.lwawt.macosx.LWCToolkit.getImage(LWCToolkit.java:549)
> at org.adelbs.iso8583.Main.<init>(Main.java:50)
> at org.adelbs.iso8583.Main.main(Main.java:25)
from iso8583.
verifying and the jar is missing the entire resource folder, unload it, copy the folder and repackage it and it works, something must be missing in the maven
from iso8583.
Hi,
What commands did you use to unload and reload a jar file. I tried to add the file to the jar using zip but then when I executed the java command I got....
c:\ISO8583\ISO8583-master\target>java -cp ./Adelbs-ISO8583-1.1.1.jar org.adelbs.iso8583.Main
Error: Could not find or load main class org.adelbs.iso8583.Main
Clearly I have done something wrong.
from iso8583.
Hi,
use the jar tool to unpack and package, the zip compress and decompress it is not correct.
https://docs.oracle.com/javase/tutorial/deployment/jar/unpack.html
from iso8583.
from iso8583.
from iso8583.
Applied @ab4cus suggested fix and managed to succesfuly run the project.
@adelbs May I please take up this issue so I can provide a permanent fix? If so please assign the issue to me.
from iso8583.
@adelbs please accept the pull request, so the issue will be fixed, public still experiencing this issue
from iso8583.
Hi,
Given that no fix has yet been issued, would it be possible to get an explanation on:
- The path of the "resources" folder and the path to the destination folder where it should be copied
- Intructions on how to correctly repackage the updated repository.
Thank you in advance. :)
Br,
from iso8583.
Are you guys still having the problem? From here what I did was to use the maven package on eclipse and also to have the JDK instead of the JRE. Please let us know here before we close the issue.
from iso8583.
Related Issues (20)
- Notify when update the fields at the client/server tabs
- When change the tabs, just load again only if it was at the XML tab
- When backing to tree tab, the fields are enabled and there are anything selected
- Create a github wiki
- Create sub-sub-fields
- If the field type is LVAR, disable the length property
- Implement the TLV field type
- Mandatory and dynamic rules
- If the bit is dynamic, it cannot validate the duplicated bit number
- At the subfields, change the label bit number to "order"
- Wiki - How to create request HOT 3
- Install and run HOT 5
- Template message
- Manifest problem HOT 2
- NullPointerException HOT 1
- Missing icons HOT 1
- Exception in thread "main" java.lang.NullPointerException HOT 1
- please sample iso config in project HOT 1
- isoconfig is missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iso8583.