Building .jar

已回答

I have gotten to the point in my project that i want to test it on another device.

 

Problem is it relies on 2 libraries. How can i take the project im working on and build a jar so i can ensure it works on another system with a different operating system. (windows 7/raspi pi)

 

I checked for build artifact, but it faded out. Am i doing something wrong?

 

EDIT: i was able to get it to jar it. But when i run it, nothing happens.

0
Avatar
Permanently deleted user

I showed you i did put it on top, but still got overwritten.

 

All the other depencies from the other .jars have manfests too. Does this mean i would have to remove those, and if so wouldnt that break alot of the jars?

0

If this configuration doesn't work as expected, it's probably a bug that you should report at https://youtrack.jetbrains.com/issues/IDEA with the sample project to reproduce attached.

Removing manifests from the other jars will not break them.

0
Avatar
Permanently deleted user

Looking for an alternative on how i can bring my project over to another machine with a different OS.

0

after generating jar file run command

7z d yourjar.jar META-INF/*.SF META-INF/*.RSA META-INF/*.DSA -r

0

请先登录再写评论。