Error executing with MS JVM

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Sebastien Regnoult

Error executing with MS JVM

Post by Sebastien Regnoult » Tue Apr 09, 2002 5:49 pm

Hi !

when executing an application with JView (MS version of java), I got this problem :

java.lang.ArrayStoreException
at com/jrefinery/chart/Plot.<init>
at com/jrefinery/chart/XYPlot.<init>
at com/jrefinery/chart/XYPlot.<init>
at com/jrefinery/chart/ChartFactory.createTimeSeriesChart
at chartGen.genere
at chartGen.main

ERROR: java.lang.ArrayStoreException

did someone ever saw this error and know a way to fix it (I HAVE to use MS JVM because my aim is to build a Java COM Object for IIS).

Thank you for your answers,

Sebastien Regnoult

David Gilbert

Re: Error executing with MS JVM

Post by David Gilbert » Tue Apr 09, 2002 7:39 pm

Does the MS JVM support Java 2? If it doesn't, then you won't get JFreeChart working on it...it needs the Java2D APIs which I think were first released in JDK1.2.

Regards,

DG.

Sebastien Regnoult

Re: Error executing with MS JVM

Post by Sebastien Regnoult » Wed Apr 10, 2002 8:48 am

Hi David,

you're right, the MS JVM supports JDK 1.1.4, but one can "update" the MS JVM by adding JRE runtime classes (and others like com.jrefinery.xxx ;-) ) to the MS JVM directory so that one can use Java2D API, by example.

I made this work with classes using iText, was trying to do the same with JFreeChart.

I'll try it again with a basic class,

Thank you for your help,

Sebastien

Locked