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 6019347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:24:32+00:00 2026-05-23T03:24:32+00:00

I am having a java project having the directory structure as java->applet and a

  • 0

I am having a java project having the directory structure as
java->applet and a few .java files

the applet folder further contains two folders and some .java files

I need to develop a jar file out of this project

I did so by writing the command line

jar cvfm myfile.jar *.java
(obviously by moving into corresponding directory)

when I checked by extracting the file(it was zipped as a Nokia application installer file)
it showed me only the classes in the applet folder not the folders in it

moreover i needed to use this jar file in a jquery plugin where i had written

var dasherApplet = $(‘applet’);

dasherApplet.attr({
    'height':'100%',
    'width':'100%',
    'archive':farfalla_path+'plugins/dasher/jardasher.jar',
    'code':'JDasherApplet.java'
});

but it showed me the class not found exception

for this I checked the previous versions of the java applet; there the java files were replaced by .class files so i tried compiling a java file into .class by using the command line

C:/>javac filename.java
still all in vain this time it showed me
“cannot find symbol” error

what was interesting was that the errors generated were imitating the java files present in the same folder. I navigated to the directory where the file was stored still the same error
when i tried to simply run it by using
java filename.java
error was main class not found:JApplet.java

Please help me develop this applet

  • 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-23T03:24:33+00:00Added an answer on May 23, 2026 at 3:24 am

    Firstly you need to compile all the jar files before running.

    Secondly , you CANNOT run Applets using java filename.java .

    As this link explains http://download.oracle.com/javase/tutorial/deployment/jar/build.html ,

    jar cvf TicTacToe.jar TicTacToe.class audio images

    Here audio and images are folders , so that is how you add folders to jar.

    Also .jar files are not Nokia Application Installer files . Nokia simply associates them for installing apps (that is J2ME)

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

Sidebar

Related Questions

I've compiled a java project into a Jar file, and am having issues running
I'm having some trouble navigating Java's rule for inferring generic type parameters. Consider the
we are having about 100 maven artifacts in our java based project. these artifacts
In a windows environment we have an eclipse project (written in Java) that contains
I'm having a problem with the GUI of a java project. I construct the
What reason is there for C# or java having lambdas? Neither language is based
I'm having a problem using the java.text.MessageFormat object. I'm trying to create SQL insert
I'm having a small problem in Java. I have an interface called Modifiable. Objects
I'm having trouble searching for a decent Java library that provides Markov chains, and
I'm having an issue where I've written a Java App that works perfectly on

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.