The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
20 views

Java - ant CLASSPATH troubles

So I'm trying to build some code I got from http://sourceforge.net/projects/pbsaccounting/ When I type ant, I get: Buildfile: build.xml compile: [javac] Compiling 54 source files to ...
0
votes
0answers
18 views

Open a jar file without it taking focus

I've written a python script that runs a java program every 3-5 seconds. This is run by using subprocess.call() method: subprocess.call(['java', '-jar', ...
1
vote
2answers
200 views

How to stop a running jar file in a bash script after 5 minutes and start the next one?

I have to run a jar file with different parameters like this: #!/bin/bash cd /Users/hawkarhama/Desktop/RUN echo $(java -jar IPM.jar 0 20 3 sign.txt) echo $(java -jar IPM.jar 1 20 3 sign.txt) echo ...
0
votes
0answers
33 views

cachedir \ packages \ and a bunch of .pkc files?

I created a Java program that uses the Java ScriptEngine API to evaluate Python Modules. The Java program adds several API jar files to the CLASSPATH and a Jython.jar file as well so that the ...
0
votes
2answers
2k views

shell script to start and stop executable jar in linux environment

I have to write start and stop script for an executable jar ex. executable.jar How to do it using shell scripting? I got success to do it for Windows environment with .bat file. But not able to ...
0
votes
3answers
975 views

Can not open “.jar” file in windows 8

I downloadd jar application named Need for speed most wanted. Now when I double clicked on the jar file icon, it does not executed. I checked I have jre installed in my windows 8 (64 bit) machine in ...
0
votes
1answer
439 views

Adding a jar file to CLASSPATH is still not executable

Perhaps I just don't understand how the whole CLASSPATH environment variable works when trying to find .jar files on your system. I thought if you specified it, you could launch .jar files with java ...
0
votes
0answers
107 views

Export .jar in IntelliJ and Eclipse: IntelliJ builds, Eclipse not?

I have a little question about one thing in IntelliJ and Eclipse. I used Eclipse for some time but I moved to IntelliJ. I noticed that whenever I exported a .jar in Eclipse that the resulting .jar ...
0
votes
1answer
19 views

Copying Jar files into single zip file

I am trying to compress the hundreds of jar files into a single zip file that can be transferred to a different location. Please help.
4
votes
1answer
315 views

Editing a .jar with `vim`

On an Amazon Linux instance I'm trying to edit a jar file remotely through putty. vim provides a convenient navigator, which displays a prompt with a list of the contained files in the jar: > vim ...
0
votes
0answers
36 views

Error on running tmt jar file

I am trying to run Stanford Topic Modeling tool. I have Windows 7 and java 1.7 version. I downloaded the jar file and trying to run it by various options- Double click on the jar file - nothing ...
9
votes
4answers
5k views

Is there a way to edit files inside of a zip file without explicitly extracting them first?

I sometimes need to make changes to a .zip or .jar file, so I usually move the file to /tmp, extract all the files with unzip, edit a few files, and then re-zip up the files. This works, but it can ...
0
votes
1answer
874 views

Execute a jar with double click in linux

What I'm trying to achieve is to run a java program on any Linux system (Ubuntu, Fedora, etc... covering as much as possible) by simply double clicking a file-like I would on Windows. I have created a ...
1
vote
2answers
786 views

Corrupt usr/bin/java

I just did a pretty stupid thing, when I tried to copy JSTestDriver.jar into usr/bin/java by typing this command: cp jsTestDriver.jar usr/bin/java. Now every 'java' command in terminal just prints ...
0
votes
1answer
76 views

Problems to open jar file

I use mac with mountain lion and java u update 21. When I try to open the file with a double click, I get the following error: java file.jar could not be launched, or sometimes not after the double ...
0
votes
1answer
1k views

Can't change default .jar opener from Command Prompt to Java SE Binary

A while back I changed my default opener for .jar files to cmd, as I was writing a few console applications in java and wanted to be able to run them easily (I now know that you can a similar result ...
0
votes
1answer
448 views

Cannot delete jar from lib/ext folder

I've added a jar in the extension folder of my JRE (lib/ext) in order to provide an extension code to my applications. Now I want to delete this jar, but I cannot. The error message says: Cannot ...
2
votes
2answers
119 views

use pipe inside a find exec statement

I'm trying to find which jar contain a class, I wrote the below, which doesn't seem to work any ideas? find -type f -name "*.jar" -exec jar -tvf "{}" \| grep MyClass \; -ls
1
vote
0answers
63 views

Export files directly into the jar

How would I go about exporting the files directly into the jar, instead of it in a directory? For example, here's my project tree: project name src folder package Java class ...
1
vote
1answer
310 views

Eclipse with JAR - Classpath on OpenSuse 12.1

howdy! well i am brandnew to eclipse - i never ever used it so far! i run a OpenSuse Linux Version 12.1 - and all works fine. i am currently tryin to install the OSMGenerator - a tool that allows ...
0
votes
0answers
761 views

.desktop shortcuts aren't working for java applications in LXDE

I just installed minecraft on my LXDE desktop/Lubuntu machine and I'm trying to create a .desktop file on the desktop that executes java -jar ~/minecraftlauncher.jar. The command works in bash scripts ...
0
votes
1answer
2k views

Installing a Java Jar file on Ubuntu 11.10

Is there a way to package a jar file (for example, a .deb) and install it on Ubuntu 11.10. Basically I want to automate the installation of Jar file when I create a Ubuntu VM (using KVM). Thanks.
7
votes
3answers
1k views

“file.myext” is not a valid Win32 application

I have written a registry that creates .myext. Double-clicking on my file.myext refers to my executable file (converted from a batch file that opens a .jar) which then opens my notepad application. ...
0
votes
3answers
6k views

How can I use Task Scheduler to schedule a .jar file?

I have an executable jar file and I am trying to create a scheduled task for every day using windows Task Scheduler I go through the following steps: open Task Scheduler -> Create Basic Task -> ...
2
votes
1answer
2k views

How to Simulate Jar files on PC

Sometimes it happens that after downloading a Jar file for an App, there appears to be several catch with it, like activation code required. Is there any tool that I can use to simulate the Jar file ...
2
votes
1answer
894 views

How do I delete the meta-inf folder in minecraft.jar?

When I open the minecraft.jar file with p7zip on Linux, I can't delete the META-INF folder. This is the error: Error: /home/davide/.minecraft/bin/minecraft.jar is not supported archive System ...
5
votes
2answers
25k views

How do you remove META-INF from minecraft.jar without any manual file deletion?

How can I remove META-INF from minecraft.jar, without administrator privileges? I can't install new software.
2
votes
1answer
3k views

Is there a Midlet emulator that emulates custom screen sizes, reading from flash card, web access, camera and bluetooth?

I have a lot of Midlets (Java apps, *.jar, for mobile phones) and I would like to test in my computer before using on my mobile. There are some programs (like MidpX) that can emulate some of them, ...
3
votes
1answer
4k views

Finding which jars contain a file

With Windows XP, I recall being able to using Windows Search to find which jars in a dir contain a specific class file. But on Windows 7, this no longer seems to work. I've got the Search option ...
0
votes
2answers
722 views

Ubuntu Package (.deb) Recommendations Installation Folder and Binary Name

I'm building a .deb file for an executable jar I've built for myself. I got a .deb built and installed my program to /usr/bin. As I have a jar I now had an executable file called ...
4
votes
2answers
8k views

How do I easily elevate when running a .jar file?

When trying to run an installer Jar file, I am getting an error saying that write access is denied to create a directory under the Program Files folder. Right click -> Run as Administrator is not ...
2
votes
2answers
111 views

Is it possible to install software in such a way that the user can't remove it?

Let's say a program is contained entirely in a jar or exe. Is it possible for this program to propagate itself such that the user can't possibly remove it from the machine? I'm wondering how much ...
0
votes
4answers
9k views

Java .jar files to run on double-click

How can I configure .jar files run on double-click in Windows 7?
0
votes
1answer
1k views

How to trust a jar file in IE

We are testing a java application with an unsigned jar file (which we'll sign in time). One tester, on being prompted with standard security warning, selected NO to not trust an application jar file. ...
2
votes
2answers
443 views

How to get a specified file extracted from a JAR file using a batch file?

I have a test.jar file on windows and I want to use 7-zip to get a certain file from outside of the archive, such as the "com/app/test/FILE.class" file. I only have access to java, 7-zip, and the ...
2
votes
2answers
8k views

How to replace a file in jar with command line in linux?

I have a jar, and I need to replace a class in it, at this moment, I can only open it with "archive manager" and then drag and drop the new compiled class into the jar, but I think this is really ...
1
vote
1answer
729 views

Why it is impossible to delete entries from jar file?

It is possible to add new entries to jar file using jar tool. It is possible to modify some entries in jar file using jar tool. But it is impossible to delete some entries from jar file. Why?
1
vote
1answer
3k views

I can not start a .jar-file by double-clicking, only from command-line in Windows

I have a Java application in a .jar-file. I can start it by typing java -jar myapp.jar and the application starts, but if I double-click on the .jar-file, nothing happens. What can be wrong? How can I ...
0
votes
1answer
2k views

unable to access jarfile alliance.tmp

I've just installed the p2p software Alliance. Whenever I'm trying to open Alliance a "Java Virtual Machine Launcher" window pops up with this error message: "unable to access jarfile alliance.tmp". ...
3
votes
1answer
2k views

Windows' “open with” with java and a jar file

I use the rest-client to test REST APIs. It is basically just a .jar file, that is called via java -jar rest-client.jar. The rest-client uses two file extensions, in my case .rcq, to store data in ...
1
vote
1answer
277 views

executing a .jar

I have a simple .jar file, when i run this: >java -jar SLA.jar It works correctly, however when i run >SLA.jar Nothing happens at all, i thought that these were meant to be the same the ...
25
votes
4answers
19k views

Can you configure Windows to open JAR files like ZIP files without a 3rd party tool?

I'd like to be able to examine the contents of a JAR file without having to install Winzip or some other tool and without having to rename the file. Windows Explorer can open ZIP files just fine; is ...