I believe this is the appropriate forum, but if it is not please let me know and I will move it to the OSX forum.
I have an assignment that requires me to play with a specific jar file. I am currently running OSX 10.6 and I have Java 6 installed. Xcode is my main IDE but I recently downloaded eclipse after reading that it was better for Java development. Now when I click on this Jar file OSX tells me that it cant be launched. This file is called FRTsniffer.jar and here are the classes the code tries to import:
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.*;
import org.biojava.bio.BioException;
import org.biojava.bio.seq.DNATools;
import org.biojava.bio.symbol.Alphabet;
import org.biojava.bio.symbol.Symbol;
import org.biojava.bio.symbol.SymbolList;
import org.biojavax.RichObjectFactory;
import org.biojavax.bio.seq.RichSequence;
import org.biojavax.bio.seq.RichSequenceIterator;
I realize I do not have these Biojava libraries. My understanding was that these were trying to be accessed from the internet hence the URL. This did not work so I attempted to download the Biojava libraries and they also did not run. I could not find a guide on what to do with them either. So I am at a complete loss on what to do here.
In summary, my questions are:
1) Are my jar files supposed to just run like an executable if I have the proper libraries installed?
2) Do I have to do anything special to use the URL imports and if so,is there a good guide?
3) If I download the Biojava libraries and install them should the jar files work the same as using the URL imports?
4) Is there a guide to install these Biojava libraries that are Jar files because I have clicked on them and they also do not run?
If I am missing any information for you please let me know. I am a sophomore computer science major with moderate programming experience in Java but I have never had to modify the libraries or anything remotely that technical. Thank you for your time--Robert