Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2007 11:49:42 +0330
From:      "Bahman M." <b.movaqar@adempiere.org>
To:        andy@triera.net
Cc:        freebsd-java@freebsd.org
Subject:   Re: Eclipse: javax.crypto.* not found.
Message-ID:  <20070930114942.0c82e2db@attila>
In-Reply-To: <jp5kxo.3p7lhr@webmail.triera.net>
References:  <20070930000434.7d397970@attila> <20070930001212.32be5693@attila> <jp5kxo.3p7lhr@webmail.triera.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-09-30 Andy Rozman (Aleksander) wrote:
> 
> Hi !
> 
> I don't use eclipse myself, so my help probably won't be that
> helpful... 
> Take a look at configuration... File jsse.jar must be included...
> this file has crypto classes. 
> 
> jsse.jar is in <java_install_dir>\jre\lib\jsse.jar. 
> 
Adding jsse.jar didn't help but your suggestion gave me a useful hint.
I check the JRE configuration and found out that jce.jar is not
included.  Adding it solved the problem.

Thank you,

Bahman

> Take care
> Andy
> 
> 
> "Bahman M." <b.movaqar@adempiere.org> wrote:
> 
> > On Sun, 30 Sep 2007 00:04:34 +0330 "Bahman M."
> > <b.movaqar@adempiere.org> wrote:
> > 
> > > Running FreeBSD 6.2-RELEASE-p7 i386, I have Diablo 1.5, JDK 1.6,
> > > Eclipse 3.2 and Ant 1.7 installed from ports with no problem.
> > > 
> > > I have a program in Java which uses javax.crypto package.  I can
> > > compile, build and run it using Ant w/o any problem but when I
> > > open the project in Eclipse, it complains about javax.crypto.*
> > > not being found. I tested with both Diablo 1.5 and JDK 1.6 as the
> > > project JRE but with no luck.
> > > 
> > > I also even de-installed Eclipse and installed it again -from
> > > ports- but the result was the same.
> > > 
> > > Since the program compiles and runs from command line, I suspect
> > > it's all about Eclipse settings/configurations.
> > 
> > Forgot to add that the project source level is 5.0; however I
> > tested 6.0 and it was no different.
> > 
> > Also I could open the project in Eclipse and run it, on a Fedora
> > box.
> > 
> > Bahman
> > _______________________________________________
> > freebsd-java@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-java
> > To unsubscribe, send any mail to
> > "freebsd-java-unsubscribe@freebsd.org"
> > 
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070930114942.0c82e2db>