Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installed 1.7.0_40 and can't start any apps built previously.

KPenroseSep 18 2013 — edited Sep 19 2013

I installed the u40 release today, and I use NetBeans 7.3 as my development environment.  After I tried to build a couple of projects against the new release, and finding I couldn't run them from within NetBeans (java.lang.UnsatisfiedLinkError: com.sun.glass.ui.win.WinApplication._invokeLater(Ljava/lang/Runnable;), I went back to u25 and I was able to build and run from within NetBeans.  But then I went to try to run some previously built applications (built against u25) and they won't run at all.  I'm thinking it might have something to do with the packaging, but I don't know, and I'm not even sure how to find out what the problem is.

This is critical, because in my company some users may update their version of java, and if they do, my applications will cease to work. 

My projects are maven projects, and I use the zenjava javafx-maven-plugin to package the apps.

TIA,

--Kevin

This post has been answered by KPenrose on Sep 19 2013
Jump to Answer

Comments

843810
Have browsed through the forum and it seems that the
JCE provider bundled with JCE and JDK1.4+ do nothing
on RSA. Can I make this conclusion?
Yes, but: A standard installation of Java comes with 5 providers. SunJCE is only one of these providers. Two other providers, SunJSSE and SunRsaSign do provide RSA for digital signature purposes.
843810
But it seems the SunJCE doesn't provide the RSA (and AES, who knows what else is missing) encryption and decryption functions. Can anyone list what is missing from the SunJCE? Also, from the forum, many have pointed to this bounty castle provider. Can any of you guys who are familiar with this provider give us the procedure of installation? Thanks.
843810
But it seems the SunJCE doesn't provide the RSA (and
AES, who knows what else is missing) encryption and
decryption functions. Can anyone list what is missing
from the SunJCE? Also, from the forum, many have
pointed to this bounty castle provider. Can any of
you guys who are familiar with this provider give us
the procedure of installation? Thanks.
I wouldn't use the term 'missing' here. Sun provides some basic cryptographic functions and that all. If you want more, get another provider. Sun will never be able to provide every possible algorithm. That's why they have implemented the external provider option. So no, I cannot list what is missing.

I can tell you that other providers, for instance BouncyCastle offer much more cryptographic functions. Installation is very easy. Just download the .jar and put it in your <java>\jre\lib\ext directory. After that you can use it in you programs with the following code:
Provider prov = new org.bouncycastle.jce.provider.BouncyCastleProvider();
Security.addProvider(prov);
You can also install it so that you don't have use this code in every program that uses the provider. How this is accomplished, can be found in the install manual from BouncyCastle.
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 17 2013
Added on Sep 18 2013
4 comments
1,597 views