How do i open jar files created by netbeans in ubuntu?

AtomX

I'm trying to execute a jar file developed in Apache NetBeans 11.2 in Ubuntu 19.10 by double clicking it or launching via terminal (java -jar filename.jar) but it doesn't launch - nothing happens. It is a simple program that manages the daily work routine of an employee, it was programmed with Jframe GUI. And the program has I / O operations. I already made the jar file executable and i have JRE installed on Ubuntu. I have discovered that the manifest file is empty and it doesn't contain the main class, instead it has: "Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build" It says that the main-class will be added automatically by build but it is not added. I developed another program (a game) in Intellij Idea IDE, whose the jar file has a manifest file containing the main class and even with the fact that i have used Liberica JDK in development the Open JRE associated with jar files works.

user1013712

Maybe you must create launcher on desktop, with

/path /to /bin /file.jar

Also, you can debug your file with idea studio

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do I add a jar to netbeans 7.3.1?

From Java

How do I open nfctools library in NetBeans?

From Dev

How do I open a directory in Netbeans?

From Dev

How do I open Android's tombstone files in Ubuntu?

From Dev

How do I open Xara Extreme files on Ubuntu 15.10?

From Dev

How do I open a jar file with java?

From Java

Maven and Netbeans: how do I build project and get executable jar?

From Java

How do I attach properties files to a jar?

From Dev

NetBeans IDE plugin, how do I open a terminal tab?

From Dev

How do I open NetBeans HMTL context menu?

From Dev

How do I open/convert .pkz files?

From Dev

How do I get NetBeans to recognise SHTML files?

From Dev

How do I remove a project from netbeans without deleting files?

From Dev

How do I set NetBeans as the default for .java files?

From Dev

how to use .jar files in netbeans8

From Dev

How do I install JDK 8 with NetBeans(Cobundle) on 16.04 Ubuntu?

From Dev

From ubuntu, how do you edit files created by juju?

From Dev

How do I list my currently open open files in Xcode?

From Dev

How do I access the private lists from another class created by netbeans when i bind elements

From Java

How do I stop .mdmp files from being created

From Dev

In Python how do I search for files created in the past 24 hours?

From Dev

I recently updated to ubuntu 15.04, but Java won't open .jar files!

From Dev

How do I remove the Ubuntu boot option created by Wubi?

From Dev

How do I access folders created on Ubuntu with Windows?

From Dev

How do I import a module created with pybind11 on Ubuntu

From Java

Executable JAR on Ubuntu (NetBeans)

From Dev

How to open the path I'm currently on my terminal on Files [Ubuntu]

From Dev

How can I open EML.XML files in Ubuntu 16.04

From Dev

How do I reenable opening jar files by double clicking on them?

Related Related

  1. 1

    How do I add a jar to netbeans 7.3.1?

  2. 2

    How do I open nfctools library in NetBeans?

  3. 3

    How do I open a directory in Netbeans?

  4. 4

    How do I open Android's tombstone files in Ubuntu?

  5. 5

    How do I open Xara Extreme files on Ubuntu 15.10?

  6. 6

    How do I open a jar file with java?

  7. 7

    Maven and Netbeans: how do I build project and get executable jar?

  8. 8

    How do I attach properties files to a jar?

  9. 9

    NetBeans IDE plugin, how do I open a terminal tab?

  10. 10

    How do I open NetBeans HMTL context menu?

  11. 11

    How do I open/convert .pkz files?

  12. 12

    How do I get NetBeans to recognise SHTML files?

  13. 13

    How do I remove a project from netbeans without deleting files?

  14. 14

    How do I set NetBeans as the default for .java files?

  15. 15

    how to use .jar files in netbeans8

  16. 16

    How do I install JDK 8 with NetBeans(Cobundle) on 16.04 Ubuntu?

  17. 17

    From ubuntu, how do you edit files created by juju?

  18. 18

    How do I list my currently open open files in Xcode?

  19. 19

    How do I access the private lists from another class created by netbeans when i bind elements

  20. 20

    How do I stop .mdmp files from being created

  21. 21

    In Python how do I search for files created in the past 24 hours?

  22. 22

    I recently updated to ubuntu 15.04, but Java won't open .jar files!

  23. 23

    How do I remove the Ubuntu boot option created by Wubi?

  24. 24

    How do I access folders created on Ubuntu with Windows?

  25. 25

    How do I import a module created with pybind11 on Ubuntu

  26. 26

    Executable JAR on Ubuntu (NetBeans)

  27. 27

    How to open the path I'm currently on my terminal on Files [Ubuntu]

  28. 28

    How can I open EML.XML files in Ubuntu 16.04

  29. 29

    How do I reenable opening jar files by double clicking on them?

HotTag

Archive