applet « jar « Java I/O Q&A





1. Why some times Java does not request for new versions of jar files?    stackoverflow.com

Every time we update our Java application (Java client and Java server) we have the problems that some clients approx. 1% - 2% does not load the new jar files. This ...

2. Java applet, add jar files to the manifest file    stackoverflow.com

I am doing some thing obvious wrong. I have a simple applet which needs to upload files to server. I have written an ant script to build the jar file. However, ...

3. Starting Java applet directly from jar file    stackoverflow.com

The goal is to have an applet run from a jar file. The problem is that the applet only seems to want to run from an exploded jar file. Samples on the Internet ...

4. Java Applet in JAR File    stackoverflow.com

I have created a java applet (.class file) and made a .jar with it and digitally signed the .jar file. Now I need to run the .jar as an applet in ...

5. Trouble writing file from within a java applet    stackoverflow.com

I have created simple Java class to test file writes from applets:
update appeared

public class localfile extends Applet{
public localfile(){
    try {
        File ...

6. How to embed a Java Applet from another website (can't link their class file and jar)    stackoverflow.com

In addition to what my title says, I am running into problems because their class file is linked as follows:

"var attributes = 
  {code:'xx/xxxx/xx/xx/xxx/xxx/xxxxx.class' 
      ...

7. Read .jar file in Java applet    stackoverflow.com

I have a little Java applet game where you can choose between some themes. It works very well but the downloading time of the huge .jar is not acceptably. Now I ...

8. multiple applets in one jar file, multiple applets on one page?    stackoverflow.com

I have recently started developing applets. I want to know if it is possible to:

  1. package multiple applets in one jar file if yes, how do I do this ? if no, why not ? ...

9. Applet jar not being searched for files    stackoverflow.com

For example purposes, let's say I have a series of Locations on a website and the urls are of the form /location/#/ where # is the id of the location I ...





10. Getting Java Applet to find jar libraries embedded in single jar file    stackoverflow.com

I'm having some trouble getting my Java Applet, which uses embedded jar libraries to work in a web page. Specifically I get a NoClassDefFoundError for classes that are contained in libraries ...

11. How to combine two Jar files    stackoverflow.com

is it possible to combine two jar files such that in an applet tag I can simply do something like ...archive="jarjar.jar/jar1.jar"... ...archive="jarjar.jar/jar2.jar"... instead of ...archive="jar1.jar"... ...archive="jar2.jar"... I need to only have one jar ...

12. How can I set the publisher name in my signed jar file, using a self-signed certificate?    stackoverflow.com

I've compiled my applet, created a jar file, generated a keystore db with keytool, signed the jar with jarsigner, and exported the public key cert with keytool. Now when I run my ...

13. What steps must be performed to get a applet which can work with File?    stackoverflow.com

I have an applet with a function which returns a List of all Netdrives if this function is called by javascript. Currently I get a permission denied exception. Google told me: I ...

14. JApplet in Jar file can only be run from html contained in Jar file    stackoverflow.com

I have a JApplet that is based off an application. I need it to read in a text based file containing all of it's data. So I stuck it in the ...

15. Java applet, relative file name problem    stackoverflow.com

I have an applet that worked fine in appletviewer but didn't work in a web browser. The applet reads some files. It's a signed applet, so permission isn't the ...

16. How To Sign a Jar File for an Applet?    stackoverflow.com

Does Singing a Jar File For an Applet use the same process as signing a Jar file for an application?? If so, can someone tell me how to sign it? I ...





17. Java Applet - how to determine if external jar file exist on client machine    stackoverflow.com

Good afternoon I'm in the search of a solid way to determine if an external jar exist on the client machine, who're going to use my java applet. Right now what I'm ...

18. Run JAR file in Applet    coderanch.com

Not sure why you think you'd have to re-create the whole application. It may be sufficient to rewrite the main class -which probably opens a JFrame- to be a JApplet instead. Try it with a small example, and it should become clear what needs to be done. This class may also help, although it's written with an Applet in mind, not ...

19. Getting a file name for an applet from within a .jar file    forums.oracle.com

I am creating an image loading function for a .jar file that searches for a particular prefix in a file, then loads the first file found with that prefix, and am getting one of those remarkably strange errors - those that work properly one one computer, yet do not work properly in the same type of directory on the same OS ...

20. Problem in loading applet from non executable jar file    forums.oracle.com

I am new to jar concept plz help.. I am trying to call an applet from another applet through frame it is working fine but its download time is much more. now i want to store all my images , sound files and class files of other applets in a jar file and want to access these inner applets from this ...

21. to how unzip trsuted applet jar file    forums.oracle.com

22. Lazy loading jar files for unsigned applet    forums.oracle.com

23. how applet jar files are downloaded    forums.oracle.com

Hi, I want to deploy my app as an applet in a jar. So assuming the end user has a compatible JRE installed. The HTML in my page would point to my jar on the server and when the page is opened, the jar is downloaded to the end user machine and run in the JRE (on the page). How is ...

24. How to convert an applet file to a jar file    forums.oracle.com

25. Applet cannot read files in jar    forums.oracle.com

Hey guys, I'm trying to put an applet on the net, however I'm having a little bit of a problem: Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError at Slides.(Slides.java:17) at Debug.paint(Debug.java:55) at sun.awt.RepaintArea.paintComponent(Unknown Source) at sun.awt.RepaintArea.paint(Unknown Source) at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown ...

26. How to list files from .jar file in applet?    forums.oracle.com

I have created applet and export all files to .jar file. I use File.list() method in applet to list files from one directory and that works ok but if I try to do that from web browser it sends exception AccessDenied meaning that File.list() isn't allowed in browser. I know what's the problem but I don't know how to solve it. ...

27. How to handle 2 or more .jar files with an applet    forums.oracle.com

I have bundled the main application into a .jar file (Application,jar). But I don't know how to handle the 2 jakarta .jar files with my JApplet?? I Tried to append the 2 jakarta .jar files to the Application,jar with the following code: jar cvf Application.jar 1.class 2.class. commons-net-1.4.1.jar jakarta-oro-2.0.8.jar But with the same result / Exception (I have signed the Jar ...

28. Caching dynamically loaded JAR files with Applets    forums.oracle.com

I want ot write an applet that will download and execute code stored in JAR files on my server. The user will provide my applet a URL that resolves to an XML file, which will contain an HREF to a JAR file. My applet should then load this JAR file and then call a static method on one of it's classes. ...

29. Question about Java Applet Jar file signing.    forums.oracle.com

These questions pertain to Java 6 Standard Edition 1.6.0_22-b04 and later. I have gone through the Oracle Java Tutorial for generate public and private key information to sign a jar file, and how to sign the jar itself, all at [http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html|http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html] , and seek some clarification on the following related questions: -In order to "escape" the java applet sandbox that exists ...