java.util.regex support
Title: Message Hi, I am trying to work with a pattern and matcher code. My app works fine on my desktop, but blackdown's j2re1.3.1 throws the following error message: < Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/CharSequence> Am I correct, j2re does not support java.util.regex??? Any suggestions are highly welcomed. Thanks,. alex
only in 1.4
regexpes are only a 1.4 feature. -- # Stef Epardaud, # Teachers have potentially more power than military, # Java Defeater # the former can teach us how to not need the latter. # Earth # Lunatech Research, # Solar System # soon we'll quit researching and start finding... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: java.util.regex support
On Tue, 2002-10-22 at 09:56, Alexander Busch wrote: > Hi, > > I am trying to work with a pattern and matcher code. My app works fine > on my desktop, but blackdown's j2re1.3.1 throws the following error > message: > > < Exception in thread "main" java.lang.NoClassDefFoundError: > java/lang/CharSequence> > > Am I correct, j2re does not support java.util.regex??? You are trying to use a 1.4 class (java.lang.CharSequence) with a 1.3 JRE. Have a look at the API docs for more info: http://java.sun.com/j2se/1.3/docs/api/ http://java.sun.com/j2se/1.4/docs/api/ Jesse -- Jesse Stockall [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: java.util.regex support
Title: Message Suggestion: Use an external regexp librairy like http://jakarta.apache.org/regexp/index.html Yvan -Original Message-From: Alexander Busch [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 22, 2002 9:56 AMTo: [EMAIL PROTECTED]Subject: java.util.regex support Hi, I am trying to work with a pattern and matcher code. My app works fine on my desktop, but blackdown's j2re1.3.1 throws the following error message: < Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/CharSequence> Am I correct, j2re does not support java.util.regex??? Any suggestions are highly welcomed. Thanks,. alex
RE: java.util.regex support
Title: Message Hi, thanks for the response. I got it myself. :-( However, since it was not a major task that I wanted to solve with regex, I simply figured out a different solution for my particular proplem. thanks anyway, alex -Original Message-From: Girard, Yvan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 22, 2002 5:17 PMTo: 'Alexander Busch'; [EMAIL PROTECTED]Subject: RE: java.util.regex support Suggestion: Use an external regexp librairy like http://jakarta.apache.org/regexp/index.html Yvan -Original Message-From: Alexander Busch [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 22, 2002 9:56 AMTo: [EMAIL PROTECTED]Subject: java.util.regex support Hi, I am trying to work with a pattern and matcher code. My app works fine on my desktop, but blackdown's j2re1.3.1 throws the following error message: < Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/CharSequence> Am I correct, j2re does not support java.util.regex??? Any suggestions are highly welcomed. Thanks,. alex
Enable server X with graphics
Hi, I've a class that draw a image with Graphics2D and BufferedImage and write a jpeg file of this image. In linux this class tell me it needs to be open the X server. Is there some way to do this without open th X server? Thanks
MD5
Does anyone know of a class in Java (or an API) for computing the MD5 sum of a given byte sequence? -- Jonathan Daugherty http://www.cprogrammer.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Enable server X with graphics
On Tue, Oct 22, 2002 at 07:18:29PM +0200, Tani wrote: > Hi, > I've a class that draw a image with Graphics2D and BufferedImage and write a jpeg >file of this image. > In linux this class tell me it needs to be open the X server. > Is there some way to do this without open th X server? If you are using JDK1.4, you can run with this property: java -Djava.awt.headless=true ... Nathan Meyers [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MD5
Try "java.security.MessageDigest.getInstance("MD5");" Tom On Tue, 2002-10-22 at 13:45, Jonathan Daugherty wrote: > Does anyone know of a class in Java (or an API) for computing the MD5 sum > of a given byte sequence? > > -- > > Jonathan Daugherty > http://www.cprogrammer.org > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MD5
On Tue, 22 Oct 2002, Jonathan Daugherty wrote: > Does anyone know of a class in Java (or an API) for computing the MD5 sum > of a given byte sequence? > java.security.MessageDigest -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Enable server X with graphics
On Tue, Oct 22, 2002 at 07:18:29PM +0200, Tani wrote: > Hi, > I've a class that draw a image with Graphics2D and BufferedImage and > write a jpeg file of this image. > In linux this class tell me it needs to be open the X server. > Is there some way to do this without open th X server? Here is a good page that enumerates few options, look in 'Loading images without X server' section. http://www.geocities.com/marcoschmidt.geo/java-image-faq.html -- ~ Of all the things I've lost, I miss my mind the most ~ - Andrey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MD5
i used a md5 class (opensource) i found on internet: http://www.cs.hut.fi/~santtu/java/ Jonathan Daugherty wrote: Does anyone know of a class in Java (or an API) for computing the MD5 sum of a given byte sequence? smime.p7s Description: S/MIME Cryptographic Signature