Eclipse: javax.crypto.* not found.

Bahman M. b.movaqar at adempiere.org
Sun Sep 30 01:14:22 PDT 2007


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 at adempiere.org> wrote:
> 
> > On Sun, 30 Sep 2007 00:04:34 +0330 "Bahman M."
> > <b.movaqar at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-java
> > To unsubscribe, send any mail to
> > "freebsd-java-unsubscribe at freebsd.org"
> > 
> 
> 
> 


More information about the freebsd-java mailing list