|
So figure we have a Jar file with our Java application, and it has inside of it the Jar files for the libraries it depends of, a the jdbc or any other third party jar.
How do you proceed to obfuscate it with free software? I mean, obfuscate your code ...
Started by Saiyine on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If your obfuscation tool of choice will only take a jar input....
You should be able to insert the obfuscation task between the compilation and packaging .
It with the other jars (One-Jar/Fat Jar/etc.), and build your jar.
|
|
I am trying to access the class files packaged as a library but unfortunately the jar libraries should be packaged in another jar file.
As an example say I have a.jar that contains some class libraries. I can call (import) the classes in the jar file ...
Started by Chathuranga Chandrasekara on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Don't merge the jar files - just have them separately on disk not understanding properly, but I believe what you want is to execute your program with the other JAR file (also as a single JAR....
Like a pretty bad idea to me.
|
|
I want to put a set of files that look like this into a jar:
yay/my.jar boo/my.jar foo/my.jar bar/my.jar
In the process, I want all of them renamed as follows:
yay_my.jar boo_my.jar foo_my.jar bar_my.jar
I was hoping to use a mapper to accomplish this...
Started by skiphoppy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
<copy todir="./jars_out"> <fileset;/jar>
You can't use a mapper with this technique though, you'll have to list each jar file;/subant....
Out, mapping [folder]/[file].jar to [folder]_[file].jar.
|
Ask your Facebook Friends
|
Basically what I have is an application server running liferay portal. and we also have custom portlets that have shared custom libraries as well as third party ones. for instance dwr-3.0, several drools jar files, spring-webmvc, spring, etc.
the problem...
Started by feniix on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I hope it works out the default jar....
In the application server, but the resulting archive is a jar file with the content of all the desired the dependency jars to a specified location, then repack them into your new jar.
|
|
I am working on a GUI application and would rather distribute just one jar as opposed to multiple ones.
Can you control this with the manifest.
Started by Berlin Brown on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The safest thing to do is to look at each jar file and check the manifest fileMerge your jars....
You are merging have manifest files with critical information - these can get lost, only the last file things csn happen.
|
|
In Script editor i have written a command to boot the JAR.
do shell script "cd /Desktop/RunJar/; java -jar RunMyJar.jar"
and Saved as script file as a Application. When i click on script file jar get run.
My requirement
I would like get the name of file...
Answer Snippets (Read the full thread at stackoverflow):
Do shell script "cd /Desktop/RunJar/; java -jar " & fileName objects dropped on applet displayName(i) -- show file/folder's info if folder of (info for i) is true & "';" & " java -jar ....
The file name, -- do what you will...
|
|
How do we extract jar files in ubuntu????
Started by Anakha on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
jar -xvf file.jar
or if you have jdk installed:
jar xf file.jar
Fun fact: A .jar file is actually just a .zip file
unzip file.jar.
|
|
I want to list all the jar files in subdirectories of a specified path, on a Windows computer, along with the file size & times.
dir /s gives me too much information. dir /s *.jar sort of does what I want, but gives me a bunch of information per-directory...
Started by Jason S on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at superuser):
If a folder contains....
It will also echo out the echo command, so you may want to pipe the output to a file proof.
The closest I was able to get to what you needed was dir /p /s *.jar
This gives out the files the *.jar names.
|
|
Where do I get the following jar files?
bc.jar, itext-signed.jar, bc-signed.jar, toolbox.jar, bcmail-jdk14-137.jar, bcprov-jdk14-137.jar,
Precise links would be highly appreciated.
Note: Google didn't help much.
Thanks in advance.
Answer Snippets (Read the full thread at stackoverflow):
Many different projects http://polydistortion.net/bc/download/bcmail-jdk14-137.jar http://polydistortion.net/bc/download/bcprov-jdk14-137.jar jarFinder....
There are many different JAR files around the Web with the same filename.
|
|
I am making a game in JAVA where I want to come up with a list of files in a certain directory in my jar so I can make sure to have a list of those classes to be used in the game.
For example say in my jar I have a directory
mtd/entity/creep/
I want to...
Started by James Van Boxtel on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You could circumstances....
Unable to get next jar entry from jar file '"+jar+"'", ioe); } if (jarEntry != null(); } } }
It's not possible, as Java doesn't provide direct access to the jar file the classes are loaded from.
|