[Biojava-l] Re: Biojava-l Digest, Vol 8, Issue 3
hywang
hywang at scbit.org
Fri Aug 8 11:20:09 EDT 2003
Hi,
You know biojava is just a .jar package,It doesn't needs any installation.
So what ever java comipler or IDE you use,the key point is to set the right
classpath of it for the java compiler.You run on windows 2000,and if your
compliler is just jdk, you can do it by the steps below:
1.right click "my computer" on your desktop
2.selected the property item in the menu items, and a window of system
property will come out.
3.click the label of "advanced"
4.clicke the "enviroment variable" button, and you can add the classpath to
the enviroment now, while you can choose to add it to just the current user
or the whole system.
5. new a enviroment variable with the name "Classpath", and add the correct
path of your biojava.jar to the value of it.
But if you use java IDE to compile the files, you must set the classpath of
biojava in the IDE for your project.That might will take you some time to
find the right place in the IDE to add the classpath, but it necessary to
know the IDE well if you use it to do your work,right? So we must be
patient.
Hope it helps,
Haiyan Wang,
biojava-l-request at biojava.org дµ½:
> Send Biojava-l mailing list submissions to
> biojava-l at biojava.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://biojava.org/mailman/listinfo/biojava-l
> or, via email, send a message with subject or body 'help' to
> biojava-l-request at biojava.org
>
> You can reach the person managing the list at
> biojava-l-owner at biojava.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Biojava-l digest..."
>
>
> Today's Topics:
>
> 1. help with installing biojava on windows 2000 (Halfdan Rydbeck)
> 2. help with installing biojava on windows 2000 (Halfdan Rydbeck)
> 3. Re: help with installing biojava on windows 2000 (Thomas Down)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 07 Aug 2003 17:01:01 +0200
> From: Halfdan Rydbeck <halfdan at hem.utfors.se>
> Subject: [Biojava-l] help with installing biojava on windows 2000
> To: biojava-l at biojava.org
> Message-ID: <0HJ9003DK8REVN at snifit.smb.utfors.se>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hello,
>
> I have been trying to install BioJava on a Windows 2000 machine for a
> day now but cant get it to work.
> Maybe you could help me out here?
>
> I store my .jar-files (biojava-1.30-jdk14, bytecode-0.92,
> jakarta-regexp, xerces) in C:\biojava.
>
> My classpath variable is set to the following:
> C:\biojava\biojava-1.30-jdk14.jar;C:\biojava\xerces.jar;C:\biojava\byt
> ecode-0.92.jar;C:\biojava\jakarta-regexp.jar
>
> When I try to compile a get the error message:
> C:\biojava\asgasfsf\biojava-1.30\demos-1.4\ssaha\SSAHASeq.java:6:
> package org.biojava.bio does not exist
> import org.biojava.bio.*;
>
> I just discovered that Ant is recuired to get things work. Could you
> maybe guide me throuhg everything thats needed to make biojava run on
> my computer?
>
> Thank you
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 07 Aug 2003 17:10:02 +0200
> From: Halfdan Rydbeck <halfdan at hem.utfors.se>
> Subject: [Biojava-l] help with installing biojava on windows 2000
> To: biojava-l at biojava.org
> Message-ID: <0HJ9003BM96FVN at snifit.smb.utfors.se>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hello,
>
> I have been trying to install BioJava on a Windows 2000 machine for a
> day now but cant get it to work.
> Maybe you could help me out here?
>
> I store my .jar-files (biojava-1.30-jdk14, bytecode-0.92,
> jakarta-regexp, xerces) in C:\biojava.
>
> My classpath variable is set to the following:
> C:\biojava\biojava-1.30-jdk14.jar;C:\biojava\xerces.jar;C:\biojava\byt
> ecode-0.92.jar;C:\biojava\jakarta-regexp.jar
>
> When I try to compile a get the error message:
> C:\biojava\asgasfsf\biojava-1.30\demos-1.4\ssaha\SSAHASeq.java:6:
> package org.biojava.bio does not exist
> import org.biojava.bio.*;
>
> I just discovered that Ant is recuired to get things work. Could you
> maybe guide me throuhg everything thats needed to make biojava run on
> my computer?
>
> Thank you
>
>
>
> Halfdan Rydbeck
>
> ------------------------------
>
> Message: 3
> Date: Thu, 7 Aug 2003 16:45:55 +0100
> From: Thomas Down <thomas at derkholm.net>
> Subject: Re: [Biojava-l] help with installing biojava on windows 2000
> To: Halfdan Rydbeck <halfdan at hem.utfors.se>
> Cc: biojava-l at biojava.org
> Message-ID: <20030807154555.GA14503 at firechild>
> Content-Type: text/plain; charset=us-ascii
>
> Once upon a time, Halfdan Rydbeck wrote:
>>
>> I have been trying to install BioJava on a Windows 2000 machine for a
>> day now but cant get it to work.
>> Maybe you could help me out here?
>>
>> I store my .jar-files (biojava-1.30-jdk14, bytecode-0.92,
>> jakarta-regexp, xerces) in C:\biojava.
>>
>> My classpath variable is set to the following:
>> C:\biojava\biojava-1.30-jdk14.jar;C:\biojava\xerces.jar;C:\biojava\byt
>> ecode-0.92.jar;C:\biojava\jakarta-regexp.jar
>
> While I'm not a Windows expert, that all looks correct to me.
> Could you post the exact ocmmand line or configuration file
> line which you use to set this?
>
>> When I try to compile a get the error message:
>> C:\biojava\asgasfsf\biojava-1.30\demos-1.4\ssaha\SSAHASeq.java:6:
>> package org.biojava.bio does not exist
>> import org.biojava.bio.*;
>
> If your CLASSPATH is set correctly (the value above looks correct,
> but it would be useful to see an actual command line), the only
> other possibility I can think of is that your biojava.jar file
> has become corrupted. You can check this with something like:
>
> jar tf C:\biojava\biojava-1.30-jdk14.jar
>
> which should list all the files (about 1000) in the jar archive.
>
> If that produces any kind of error, try downloading the library
> again.
>
>> I just discovered that Ant is recuired to get things work. Could you
>> maybe guide me throuhg everything thats needed to make biojava run on
>> my computer?
>
> You only need to use Ant if you want to compile BioJava from a source
> code distribution. If you've downloaded the binary Jar files, you'll
> be fine without it (although if you write large programs of your own,
> I can personally recommend Ant as a good tool for managing the build
> process).
>
> Thomas.
>
> ------------------------------
>
> _______________________________________________
> Biojava-l mailing list - Biojava-l at biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
>
>
> End of Biojava-l Digest, Vol 8, Issue 3
> ***************************************
More information about the Biojava-l
mailing list