Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to launch java desktop application without eclipse
How to launch java desktop application without eclipse [message #1710283] Mon, 05 October 2015 16:56
six jo is currently offline six joFriend
Messages: 2
Registered: October 2015
Junior Member


I have a game program written in java with the IDE eclipse. The program is deployed on a server and can be launched by an applet in a browser. I can also launch the game within my eclipse. I have a applet.launch file like this to do the trick:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.javaApplet">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/FW/java/src/game/client/be/fw/game/client/GameApplet.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<intAttribute key="org.eclipse.jdt.launching.APPLET_HEIGHT" value="200"/>
<stringAttribute key="org.eclipse.jdt.launching.APPLET_NAME" value=""/>
<mapAttribute key="org.eclipse.jdt.launching.APPLET_PARAMETERS">
<mapEntry key="language" value="FRANCAIS"/>
</mapAttribute>
<intAttribute key="org.eclipse.jdt.launching.APPLET_WIDTH" value="200"/>
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;FW&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;
"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;
&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;FW&quot;/&gt;
&lt;/runtimeClasspathEntry&gt;
"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
&lt;runtimeClasspathEntry internalArchive=&quot;/FW/build/jars/cards.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;
"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
&lt;runtimeClasspathEntry internalArchive=&quot;/FW/build/jars/icones.jar&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;
"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="be.fw.game.client.WhistApplet"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="FW"/>
</launchConfiguration>


I want to be able to launch the game with a desktop launch icon. How can I do that?
Previous Topic:32 Bit Eclipse RCP Plugin application not working when compiled in 64 bit -Eclipse Mars
Next Topic:I cannot open class files.
Goto Forum:
  


Current Time: Thu Apr 25 15:40:23 GMT 2024

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

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

Back to the top