Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Use Eclipse to run Java web start application
Use Eclipse to run Java web start application [message #651293] Fri, 28 January 2011 18:18
albertkao is currently offline albertkaoFriend
Messages: 46
Registered: February 2010
Member
I can use Java web start to start my application on the command line.
How to run my application inside Eclipse 3.3.2?
Can I run my application inside Eclipse without Java web start? How?
Clicking the launch.jnlp file inside Eclipse only open the text editor.
javaws http://localhost:7001/webstart/myapp/launch.jnlp

launch.jnlp:
<?xml version="1.0" encoding="utf-8"?>

<jnlp spec="1.0+" codebase="$$codebase" href="$$name">

  <information>
    <title>${com.prod.my.myapp.common.client.title}</title>
    <vendor>I</vendor>
    <homepage href="http://devzone/english/dev%20template/html_templates/main.asp"/>
    <description>${com.prod.my.myapp.common.client.description}</description>
    <description kind="short">${com.prod.my.myapp.common.client.short_description}</description>
    <icon href="$$context/images/chflag.jpg"/>
  </information>

  <security>
      <all-permissions/>
  </security>

  <resources>

  <java version="1.6.0_05" href="http://java.sun.com/products/autodl/j2se" max-heap-size="256m"/>

    <!-- myapp Application -->
    <jar href="myprod.myapp.client.jar"/>
    <jar href="myprod.reports.jar"/>

    <!-- TR Client jar -->
    <jar href="extern.ejb-client.jar"/>

    <property name="java.naming.factory.initial" value="weblogic.jndi.WLInitialContextFactory"/>
    <property name="java.naming.provider.url" value="${com.prod.my.myapp.common.client.naming_provider}"/>
    <property name="weblogic.jndi.enableServerAffinity" value="true" />

  </resources>

  <application-desc main-class="com.prod.my.myapp.common.framework.applicationmainwindow.gui.myappApplication"/>

</jnlp>

[Updated on: Fri, 28 January 2011 18:37]

Report message to a moderator

Previous Topic:SDL_JAVA_PACKAGE_PATH
Next Topic:Getting non-saved changes using IResourceChangeListener
Goto Forum:
  


Current Time: Sat Nov 22 16:44:59 GMT 2014

Powered by FUDForum. Page generated in 0.01590 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software