deploy « jar « Java I/O Q&A





1. loading from JAR files during deployment vs development    stackoverflow.com

when i am loading some data into my java program, i usually use FileInputStream. however i deploy the program as a jar file and webstart, so i have to use getRessource() ...

2. Ant error when trying to build file, can't find tools.jar?    stackoverflow.com

When I run ant it says:

Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar
Buildfile: build.xml does not exist!
Build failed
What package can I use to download the file required > ...

3. Ant can't find my JAR file? Trying to do an sshexec task    stackoverflow.com

I'm trying to use the sshexec task for ANT on my OSX box, when I try to run it I get the error listed below. I've downloaded the jsch jar file ...

4. Mirth Running Old JAR File Code    stackoverflow.com

This is really driving me crazy. No matter what I do, it seems that Mirth (1.8.2) is running an older version of my JAR file; I know because of various signs, ...

5. Java framework for hot code deployment and scheduling jar file deployment    stackoverflow.com

Using JAVA framework i want to achieve the following task.

  1. hot code(jar) deployment which will perform certain task in an environment
  2. At any time if i update that jar file it should automatically ...

6. Is it ok to put configuration files in JARs?    stackoverflow.com

We are having a debate at my office around what can and cannot go in a JAR file. It has been suggested that it is poor form to have anything that ...

7. Load a config file into the classpath while using an executable jar    stackoverflow.com

I am building an assembly in Maven for a command line utility. I can run it as an executable jar, but it fails because I need to load the config file ...

8. how to hot deploy jar files    coderanch.com

I am in trouble, and very painful! My boss want me to design hot deploy for his application,which is a small java server and need hot-deploy jars But,util now, i don't know about hot-deploy! Hand-masters,please help me, What should i do ? write some classLoader or other? I hope you give me some very userful source code. Thanks!





10. deploy a .zip that includes some .jar files    coderanch.com

If I have packaged my code into "myapp.jar" file, and this code needs a few third party jar files too. I want to zip all of them together and create a zip file. Inside the zip file I may need a windows "cmd" file like "execute.cmd" that looks like set classpath="d:\thirdParty.jar".. "java" -classpath "%CLASSPATH%" myapp.Main After all, I want to send ...

11. Error in deploying jar file in my friends computer    forums.oracle.com

I use Netbeans 6.5 I created a "Java Desktop Application". Project name is httpget. I completed the coding. I needed an executable JAR file.. So i build the project and got my .jar file.. In the httpget\dist folder, the following files are found httpget.jar readme.txt lib\appframework-1.0.3.jar lib\swing-worker-1.1.jar when i double click the httpget.jar file, my application worked perfectly.. but i wanted ...

12. Deploying a ton of class files into 1 folder vs making a single jar file    forums.oracle.com

My idea was to package the class files into a jar and in the future make use of packages when creating new classes but it looks like I'm being met with some resistance from people who want to go along with the status quo (i.e. keep deploying class files into one folder).