• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jnlp extension

 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

Today I found file from oracle that can be executed with only double clicks,

But, the extension is .jnlp not .jar, what is the .jnlp?

I think .jar file cannot be executed with only double click, because I had tried several times but still failed.

please someone answer to what is .jnlp and how to create it?

By the way, I feel either of my post had deleted by moderator, the title is "java EXE" whereas I still have some question from it.

thank
 
Ganesan Ponnusamy
MyExamCloud Support
Ranch Hand
Posts: 264
5
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is executable JAR file?

An executable JAR file invoke the application main class when the user performs double click. The same can be runnable by java -jar <jarfilename> command.


How to create executable JAR file by manually?

Create manifest.MF to point your main class.

Ex: Main-Class: com.epractizelabs.librarymanager.LibraryMain

Run the JAR command

jar -cvmf Manifest.MF yourapplicationname.jar *.*


What is JNLP?

JNLP refers Java Network Launching Protocol and it is defined with an XM scema. It has info about how to launch Java Web Start applications.

 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ooh, I think there is misunderstand here,

that I mean executable file, is the file or application that can be run only by click or double click,

not, I need to go to command prompt and I must write:



or I must write or run something. (+_+)

just like an installer. . . .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic