Score:0

javafx application run error Invalid or corrupt jarfile

to flag

I was trying to run a small javafx application using terminal.But i get this error.

root@abc-abc2051A:~# java -jar --module-path /opt/javafx-sdk-11/lib --add-modules javafx.controls myjar-1.0.0-shaded.jar
Error: Invalid or corrupt jarfile /opt/javafx-sdk-11/lib

My ubunt Environment

  • OS - Ubuntu 22.04.2 LTS
  • Architecture 64bit
  • Java - OpenJDK 1.8.0_362
ec flag
**Welcome to the Ask Ubuntu community.** Hmmm... this appears to be a cross-post: https://stackoverflow.com/q/72591758/111175
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.