Problem running jars in applet


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Problem running jars in applet

  1. #1
    Join Date
    Feb 2007
    Posts
    2

    Problem running jars in applet

    I have an application that i downloaded which currently uses a bat file to run to JAR files. What I am trying to do is run these JARS in an applet. The author had given permission in the readme files to do so just not explaining how. I have done this with other similar apps but never one that ran two jar files.

    This is the bat file that runs the two jars:

    start javaw -cp jEnesis.jar;lwjgl.jar jenesis.Main

    Here is a link to the files if anyone would like to take a look:
    http://www.workingdesign.de/downloads/index.php

    I am new to java but not new to programming so I do not understand much about jar files. I extracted the JAR and looked to find the main class to see if applets where initialized but they were all in strange characters which I am not sure why. Any help you could give would be great. Thanks

  2. #2
    Join Date
    Feb 2007
    Posts
    4
    <applet code=YourMainClass.class width=100 height=100>
    <param name="archive" value="myJar.jar, myOtherjar.jar" />
    <param name="parame1" value="value1">
    <param name="param2" value="value2">
    ....
    </applet>

    http://www.w3schools.com/tags/tag_applet.asp

Similar Threads

  1. Running an Applet
    By Pete in forum Java
    Replies: 0
    Last Post: 09-15-2002, 11:25 PM
  2. Problem running WebClasses
    By Kamal in forum ASP.NET
    Replies: 2
    Last Post: 07-13-2001, 05:51 AM
  3. Problem running simple Web Form
    By Mel Dodd in forum .NET
    Replies: 1
    Last Post: 06-02-2001, 09:45 PM
  4. Replies: 1
    Last Post: 08-01-2000, 02:51 PM
  5. Replies: 1
    Last Post: 05-09-2000, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center