Skip to Main Content

Java Development Tools

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!

Deploying ADF swing application

820479Feb 2 2011 — edited May 3 2011
Hello,

I am developing an ADF swing application on JDeveloper 11g. Now, I am trying to execute it outside JDeveloper. After long search and reading, I realized that there are two ways to do that:

1- Generate JAR file.
2- Use JAVA Webstart.

I tried both of them, but I am facing problems. There must be something missing in the steps.
I refered to this post: http://cn.forums.oracle.com/forums/thread.jspa?threadID=995514&start=0&tstart=0

1- please specify how to call the created JAR.
I am facing this error:

Exception in thread "main" java.lang.NoClassDefFoundError: oracle/adf/model/bind
ing/DCErrorHandler
Caused by: java.lang.ClassNotFoundException: oracle.adf.model.binding.DCErrorHan
dler
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

2- for Webstart, I am getting this error when running the downloaded jsp
com.sun.deploy.net.Failed Download Exception: Unable to load resource: http://.........../client.jar

Thank you,
Shomoos
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2011
Added on Feb 2 2011
4 comments
269 views