DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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, 10:25 PM
  2. Problem running WebClasses
    By Kamal in forum ASP.NET
    Replies: 2
    Last Post: 07-13-2001, 04:51 AM
  3. Problem running simple Web Form
    By Mel Dodd in forum .NET
    Replies: 1
    Last Post: 06-02-2001, 08:45 PM
  4. Replies: 1
    Last Post: 08-01-2000, 01:51 PM
  5. Replies: 1
    Last Post: 05-09-2000, 01:11 PM

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links