[Biojava-l] Error with VisualJ++
Mark Schreiber
mark_s@sanger.otago.ac.nz
Mon, 10 Dec 2001 23:32:27 +1300 (NZDT)
Hi -
I must say that I am surprised that Visual J++ works at all. Visual J++ is
not "pure java", more a kind of Java for windows. Code generated by visual
J++ is not portable (I think), however that doesn't answer you question.
My guess would be that the VM provided by J++ is not pure java either,
where as the one provided with Jbuilder (usually hotspot) is.
I also had a feeling that J++ only supported upto "java" 1.1 whereas
biojava generally requires at least 1.2, although the fact that you can
get it to build suggests that the java version is not a problem in this
case.
my advice would be to avoid using J++ if possible.
Mark
On Mon, 10 Dec 2001, Petri Pehkonen wrote:
> Hello,
>
> I've made a Blast report parser with Java. There is little problems with
> executing the code with Microsoft Visual J++. The same code works well
> when I execute it with JBuilder, but in Visual J++ I get a
> NoClassDefFoundError -exception. So I've added needed jar-files to
> classpath (biojava,bytecode,xerces) and both tools (JBuilder & VisualJ++)
> build the program well. The only problem is, that the command "new
> BlastLikeSAXParser();" affects an exception (see below). Could anybody
> tell me what's wrong?
>
> try {
> oParser = (org.xml.sax.XMLReader) new BlastLikeSAXParser();
> } catch (java.lang.NoClassDefFoundError ee)
> {
> richEdit1.setText ("Error: I get this all the time in Visual J++");
> }
>
>
> -Petri Pehkonen-
>
> _______________________________________________
> Biojava-l mailing list - Biojava-l@biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Schreiber Ph: 64 3 4797875
Rm 218 email mark_s@sanger.otago.ac.nz
Department of Biochemistry
University of Otago
PO Box 56
Dunedin
New Zealand
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~