wood burning stoves
The moose likes Beginning Java and the fly likes jnlp extension Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jnlp extension" Watch "jnlp extension" New topic

jnlp extension

gong pex
Ranch Hand

Joined: Oct 27, 2011
Posts: 42
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.

Ganesan Ponnusamy
EPractice Labs Support
Ranch Hand

Joined: Nov 07, 2005
Posts: 249
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.

Ganesan Ponnusamy Java Certification | Test Generator | OCAJP | OCPJP | OCEJWSD | EJB Certification
OCEJPAD | SCJD | SCWCD | SCBCD | SCDJWS | OCMJEA | Web Services Certification | SCMAD
gong pex
Ranch Hand

Joined: Oct 27, 2011
Posts: 42
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. . . .
I agree. Here's the link: http://aspose.com/file-tools
subject: jnlp extension
It's not a secret anymore!