1. Why can't I compile my java file on cygwin, when it needs classes from a jar? stackoverflow.comI'm trying to compile my class along with a provided .jar file which contains classes that my class will use. This is what I've been trying:
And this is the ... |
2. How do I find out what jar files are actually used when compiling a java project stackoverflow.comI'm currently passing a very large classpath to javac to compile a java project. I know that a number of those jar files aren't needed. Is there a simple way of finding out ... |
3. How to use jar files without package information? stackoverflow.comI have a jar called "MyTools". The jar is in c:\data folder. I created a new file in the same folder called "UseTools.java". Now I would like to use some of ... |
4. importing external jar files stackoverflow.comI have written a java code which imports an external jar file. How can I compile and run it on command-line? Please somebody help me... Thanx in advance!!! |
5. Unable to compile using additional library/jar file, javac classpath stackoverflow.comI am trying to compile code with javac using the ojdbc6.jar from oracle. I have my source in 'src' my .class in 'bin' and my 'jar' in includes. my current javac command is:
|
6. compile files from different directories with javac, referring a depending jar file? stackoverflow.comI have the following set up: I have 4 packages:
|
7. What does (filename.java.i, filename.jar.i) extension mean stackoverflow.comI have files named |
8. Running a Java program from the command line that depends on a jar file? stackoverflow.comI have a simple Java file Q.java that depends on an external library file X.jar. Both Q.java and X.jar are in the same directory. I can compile Q.java from the command ... |
9. Issues linking external jar file, despite many trials stackoverflow.comSo I'm pretty sure I looked as well as I could before asking this question, so here goes. I am writing a Java class for RC4 encryption, I'd like to make use ... |
10. making jar files available to javac? coderanch.comSorry, this is probably just a dumb newbie question. I'm having a problem setting up a library jar file in a windows environment. I know that this is just an issue of setting up the PATH or CLASSPATH or something else correctly but I can't seem to get it right. Any hints, suggestions, nudges or outright handholding cheerfully welcomed. Thanks, Frank ... |
11. javac error when using jar file : cannot find symbol coderanch.comI create the jar file MyJCESP.jar from MyWrapperAbstract.java & MyWrapperData.java. The DeriveKeyDemo.java use this jar file but compiling it result in the "cannot find symbol" error. Please help. ////////////////////////////// // MyWrapperAbstract.java ////////////////////////////// package com.mycomp.cryptox; import com.mycomp.crypto.*; import java.security.*; import java.security.spec.*; import javax.crypto.*; public abstract class MyWrapperAbstract extends KeyGeneratorSpi { // ... } ////////////////////////////// // MyWrapperData.java ////////////////////////////// package com.mycomp.cryptox; import com.mycomp.crypto.*; import ... |
12. javac linking to jar file coderanch.comHi, Im rusty w/java, I am using the htmlparser class library jar file --> htmlparser.jar I listed the contents of htmlparser.jar like this: C:\HTMLParser\HTMLParser\lib>jar tvf htmlparser.jar 0 Sat Sep 23 16:30:52 PDT 2006 META-INF/ 514 Sat Sep 23 16:30:50 PDT 2006 META-INF/MANIFEST.MF 0 Sat Sep 23 14:37:04 PDT 2006 org/ ..... 9598 Sat Sep 23 14:37:04 PDT 2006 org/htmlparser/Parser.class ============================================================== I ... |
13. how to deploy standalone jar file using javac coderanch.comi have a maven project that need to create a standalone jar to run it locally. i try to use xxxx@xxxxx06 /cygdrive/c/devsrc/myproject/target $ javac -d classes -cp 2.10.0-SNAPSHOT.jar but it give me error say that no source file can be fund. can any one advise? do i need to build a lib or any jar files before hand or it's my ... |
14. properties file has no path in jar created by javac in ant forums.oracle.comHi, I'm creating a jar using ant, but when I try to run one of my classes in ant - it does nothing. On Inspection of the jar it creates, the paths.properties I need to run the class has an empty path in the folder when I open it with winzip - anyone come across this before? Thanks, Triona |