Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6961999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:36:12+00:00 2026-05-27T15:36:12+00:00

I have a simple JNLP file that launches a Hello World command line application.

  • 0

I have a simple JNLP file that launches a Hello World command line application. When I download the JNLP file from Tomcat (7), Java Web Start starts up and then goes away without launching the command prompt and printing the output from the application. Is this because it cannot be used to launch the command prompt window ? I turned on logging and saw no exceptions, but at the end of the trace log I saw the output.

Using Windows 7, tested in Chrome and FireFox

JNLP

<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SimpleExample Application -->
<jnlp 
  codebase="http://localhost:8080/foo"
  href="foo.jnlp">    
<information>
       <title>Foo</title>
       <vendor>Paul C</vendor>
       <description>Command Line App</description>
       <offline-allowed/>
     </information>
     <resources>
       <j2se version="1.6"/>
       <jar href="foo.jar"/>
     </resources>
     <application-desc/>
</jnlp>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:36:12+00:00Added an answer on May 27, 2026 at 3:36 pm

    Is this because it cannot be used to launch the command prompt window?

    That is exactly the reason. If the Java Console is configured to show on launch of an applet or JWS app. you will be able to see the System.out.println() of a CLI based app., but further (command line based) input is not practical.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have simple SSIS package which reads data from flat file and insert into
I have simple SSIS package where I import data from flat file into SQL
I have simple WinForms application where modifying Windows Registry. The problem is that in
I have simple Hello World C++ program (main.cpp): #include <iostream> using namespace std; int
I need to create a JNLP file for a online Application i have developed
I have simple query that loads data from two tables into GUI. I'm saving
I have simple win service, that executes few tasks periodically. How should I pass
I have a working JNLP application which I need to distribute to various non-technical
I have simple python script, 'first.py': #first.py def firstFunctionEver() : print hello firstFunctionEver() I
I have simple from written on C/gtk+ and i have function in this appliction.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.