Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 23rd, 2004, 07:26 AM
Authorized User
 
Join Date: Nov 2003
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sonicDace Send a message via MSN to sonicDace Send a message via Yahoo to sonicDace
Default Java AXBridge and Classpath

Hello, all

I have been performing several "baby steps" in order to deploy a class as an ActiveX component from within an application. All steps have proven successful until, as fate would have it, I attempted with the actual class file. The class file itself has dependencies on classes within a jar and I have several JREs installed.

When running, I get the following error:

sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageOutputStreamSpi:
Provider com.sun.media.imageioimpl.stream.ChannelImageOutpu tStreamSpi not
found.

I suspect my app is using a different path or classpath than the one I have defined, which contains the jar file.

Has anyone ever run into this issue and overcome it?
Is there a way to force the classpath/path when using AXBridge?



thanks
__________________
thanks
 
Old November 9th, 2004, 10:18 AM
Registered User
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to CobraFlow
Default

I have used this successfully by copying the required jars to the axbridge\lib dir and adding them to your main jar's Class-path: entry in it's manifest.mf. (Note the case!!!!)





Similar Threads
Thread Thread Starter Forum Replies Last Post
exec:java classpath problem mslinn BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 2 December 1st, 2008 08:05 AM
classpath ekta BOOK: Beginning Java 2 1 March 28th, 2005 11:35 PM
classpath? abdi Java GUI 1 December 8th, 2004 04:44 PM
classpath problem amcp2002 JSP Basics 13 July 26th, 2003 12:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.