You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Johan Åbrandt <jo...@profitsoftware.com> on 2003/02/03 08:47:28 UTC

Re: java/util/Hashmap

Matthew Lancashire wrote:

> Its 1.3.1_06.
> 
> What do I need to do to get the class in to my classes folder.


To be sure of the version, put System.out.println( System.getProperty( 
"java.version" ) ); in the same code as were you use FOP. Then you can 
be sure that it is really the version of the java used to run FOP that 
you see.

If you dont have java.util.HashMap, then the version is below 1.2, and 
there isnt really anything you can do about it, other than changing JDK. 
There is a possibility to add the collections classes to a pre 1.2 jdk, 
but these classes exist in a different package, which means that you 
would have to modify FOP and probably every library that FOP relies on.

My humble advice would be to ditch J++.

> 
> -----Original Message-----
> From: Johan Åbrandt [mailto:johan.abrandt@profitsoftware.com]
> Sent: 31 Jan 2003 15:34
> To: fop-user@xml.apache.org
> Subject: Re: java/util/Hashmap
> 
> 
> Matthew Lancashire wrote:
> 
> 
>>VJ++ 6.0 Yeah.
>>I have both Sun JDK and MS JDK. Is it in  there?
>>
> 
> 
> If the Sun JDK is above version 1.2 then yes. Try java -version on the
> command line, or print System.getProperty( "java.version" ) in a program.
> 
> i.e
> 
> public class Prop
> {
> public static void main( String[] args )
> {
> 	System.out.println( System.getProperty( "java.version" ) );
> }
> }
> 
> 
>>-----Original Message-----
>>From: Johan Åbrandt [mailto:johan.abrandt@profitsoftware.com]
>>Sent: 31 Jan 2003 15:26
>>To: fop-user@xml.apache.org
>>Subject: Re: java/util/Hashmap
>>
>>
>>Matthew Lancashire wrote:
>>
>>
>>
>>>I keep getting the noclassdeffounderror for hashmap.
>>>Where is this MS VM?
>>>
>>>
>>
>>Are you using VJ++? Isnt that JDK 1.1? HashMap was introduced in JDK 1.2
>>
> .
> 
>>
>>>Matthew Lancashire
>>>IT Project Manager
>>>Intitial Electronic Security Ltd
>>>
>>>Tel: +44 1282 473554
>>>Fax: +44 1254 267552
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>>>For additional commands, e-mail: fop-user-help@xml.apache.org
>>>
>>>
>>>
>>>
>>
>>--
>>Johan Åbrandt
>>
>>Technical Project Manager
>>(Tekninen projektipäällikkö)
>>Tel. +358 9 6817 3342
>>Mobile. +358 40 848 8068
>>johan.abrandt@profitsoftware.com
>>
>>Profit Software Oy
>>Meritullinkatu 11 C
>>00170 Helsinki, Finland
>>
>>
>>__________________________________________________________________________
>>
>>This message and its attachments have been found clean from known viruses
>>with three different antivirus programs.
>>__________________________________________________________________________
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>>For additional commands, e-mail: fop-user-help@xml.apache.org
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>>For additional commands, e-mail: fop-user-help@xml.apache.org
>>
>>
>>
> 
> 
> --
> Johan Åbrandt
> 
> Technical Project Manager
> (Tekninen projektipäällikkö)
> Tel. +358 9 6817 3342
> Mobile. +358 40 848 8068
> johan.abrandt@profitsoftware.com
> 
> Profit Software Oy
> Meritullinkatu 11 C
> 00170 Helsinki, Finland
> 
> 
> __________________________________________________________________________
> 
> This message and its attachments have been found clean from known viruses
> with three different antivirus programs.
> __________________________________________________________________________
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 
> 


-- 
Johan Åbrandt

Technical Project Manager
(Tekninen projektipäällikkö)
Tel. +358 9 6817 3342
Mobile. +358 40 848 8068
johan.abrandt@profitsoftware.com

Profit Software Oy
Meritullinkatu 11 C
00170 Helsinki, Finland


__________________________________________________________________________

This message and its attachments have been found clean from known viruses 
with three different antivirus programs.
__________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org