Help! JavaBeans Bridge for ActiveX Packager blows up

I am trying to run the packager with this command line statement:
jre -cp lib\rt.jar;lib\swingall.jar;lib\jaws.jar;%CLASSPATH%
sun.beans.ole.Packager
It blows up. Can anybody tell me what is wrong?
The most detailed instruction about running the packager that I can find is at:
http://java.sun.com/products/plugin/1.1.1/docs/script.html
I wonder this is based on JRE 1.1.1? I got 1.3.1 installed. Maybe something is out of sync here? Also, there is no swingall.jar in the lib directory.
Thanks!
Anthony

Sorry. I thought it is quite a common thing among programmers to use that phrase.
What I meant was that it crashes with a memory violation error.

Similar Messages

  • JavaBeans Bridge for ActiveX getting started

    Hi,
    Im new to ActiveX, and ive learned that it is possible to write ActiveX controls in Java. To me, thats great news because I know Java already and dont know much about VB or NET. Im a bit confused about the usage and development thereof. Can I write these Controls using my Eclipse IDE and will I just have a DLL popping out when im finished? Or is there a lot more to it?

    Sorry. I thought it is quite a common thing among programmers to use that phrase.
    What I meant was that it crashes with a memory violation error.

  • Bridge for activex

    how is the bridge "packager" invoked ?
    does it run as a command line utility ?

    1. Create a jar file with any bean, remember to specify an explicit manifest file with the statement:
    Java-Bean: True
    2. From the jre directory run:
    bin\java -cp lib\jaws.jar sun.beans.ole.Packager
    3. Choose the jar file and the bean in the prompts and eventually the packager will generate the lib and reg file and even let you register the control.
    4. Now to test your control simply open a activehost such as VB and you should be able to see your control in the "components" list.
    Sample Bean
    import java.awt.*;
    import javax.swing.JComponent;
    public class SampleBean extends JComponent {
    BorderLayout borderLayout1 = new BorderLayout();
    private String sample = "Sample";
    public SampleBean() {
    try {
    jbInit();
    catch(Exception ex) {
    ex.printStackTrace();
    private void jbInit() throws Exception {
    this.setLayout(borderLayout1);
    public String getSample() {
    return sample;
    public void setSample(String newSample) {
    sample = newSample;
    Sample Mainfest for bean
    Manifest-Version: 1.0
    Name: SampleBean.class
    Java-Bean: True

  • Urgent help in looking for a package

    Hi,
    May i know where to download sun.awt.win32.Win32PrintJob?
    I have searched for it but fails to find it.
    Thanks
    Yours sincerely,
    Xueli

    hi,
    the class Win32PrintJob is there in rt.jar in the jre/lib folder.
    but the package name is sun.print.Win32PrintJob just see if this is enough.. (jdk 1.4.1)
    b t w me too couldn;t find any package of the form.. sun.awt.win32.Win32PrintJob
    -cheers,
    Jer

  • Weird Title and other errors concerning the ActiveX Packager Screen

    Hi,
    Here's what I get when I run the Packager (using both 1.1.1 and 1.3 instructions)
    The window pops up, saying something like "JavaBeans Bridge for ActiveX Packager version null", with the title of the frame being "frame.title".
    For some JARs, I get the NullPointerException after the first step. For others, it works fine, but after I place the control in my VB Project and try to save or run it, the program crashes.
    As well, when I tried to add the "beans.ocx" control back into my list of Components (it was already listed, I don't know why), I get an error saying that my ActiveX Control has not been registered as an ActiveX Control!
    I also cannot locate swingall.jar. I don't think I have it and I don't know where to download just that JAR file.
    Any help will be gladly appreciated.
    Thanks,
    cindybubbles

    Well, here's an update: I was able to load an ActiveX Control made from simple Java code that took no files.
    However, I am still having problems with integrating that OCX with the MediaPlayer from javax.media.bean.playerbean and Player from javax.media.
    I am also having problems with incoporating sound from java.applet. I am, therefore, left with no choice but to leave the file handling to VB.
    I'm going to test this theory by displaying images now.
    cindybubbles

  • Using the Javabeans Bridge ActiveX

    Hello! Can anyone explain me how I use the Javabeans bridge in the Java Plugin? I've downloaded the Plugin 1.4.0_1, but when I execute the command:
    java sun.beans.ole.Packager
    It fails and return me a error message saying that it can't found the sun/beans/ole/Packager... Need I do the download of this package? Where?
    Thanks a lot.

    I read an article http://www.reallyusefulcomputing.com/java/tutorial.php that says you have to use between version 1.2 and 1.3.1_04 for the Packager.
    -Jen
    Hello! Can anyone explain me how I use the Javabeans
    bridge in the Java Plugin? I've downloaded the Plugin
    1.4.0_1, but when I execute the command:
    java sun.beans.ole.Packager
    It fails and return me a error message saying that it
    can't found the sun/beans/ole/Packager... Need I do
    the download of this package? Where?
    Thanks a lot.

  • Problems with the ActiveX bridge for Java beans when using third-party .jar

    I encountered the following problem when using the ActiveX bridge for a java bean:
    I am using JDK 1.4.2_09 and MS Visual Basic 6.0 (SP6). I wrote a java bean called ProcessViewer (my class ProcessViewer inherits from JComponent and implements the interfaces Serializable and AdjustmentListener) which I would like to use within a VB 6.0 application. I used the ActiveX bridge (packager.exe) to generate a DLL (ProcessViewer.dll) and registered it successfully. The java bean GUI-control works fine within my VB 6.0 application unless my java bean (ProcessViewer.jar) uses any third-party .jar files.
    But when I tried to add a reference to some third-party class (com.sap.xxx.xxx....) I got some problems. I could solve the problem with packager.exe by setting the correct CLASSPATH. But at runtime my VB 6.0 application does not work. It crashes or it reports an error like this: "The control ... could not be loaded from axbridge.dll" (although I deployed my .jar file correctly to the directory C:\Programme\Java\j2re1.4.2_09\axbridge\bin and lib). Setting the CLASSPATH environment variable before calling my VB 6.0 application (exe) did not solve the problem.
    How can I teach my VB 6.0 application (containing the Java bean ActiveX control) where to find the third-party .jar file? Copying the third-party .jar file to the JRE lib-folder or to the axbridge\lib folder did not solve the problem either.
    I studied the documentation about the ActiveX bridge given at:
    http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
    but I am missing informations on how the third-party .jar files can be found during runtime of the ActiveX container (e. g. a VB 6.0 application).

    See how to solve your problem with JNI:
    http://codeproject.com/cpp/OOJNIUse.asp
    More examples (for SWING) in tools setup:
    http://www.simtel.net/product.php[id]95126[SiteID]simtel.net
    http://www.simtel.net/product.php[id]94368[SiteID]simtel.net
    http://www.simtel.net/product.php[id]93174[SiteID]simtel.net

  • Help and suggestions for color scheme for multiple flavor package design

    I need help choosing colors for a multiple flavor food product line.
    My objective in this post is to know how to create or acquire the palette I will need in order to proceed with design, mock ups, marketing collateral etc.
    This project requires a color scheme that has enough contrast and variation to represent up to 24 flavors of food packages per type or line of products. Each product flavor or flavor combination (the name of the item, such as Cherry Cocoa Almond or Apricot Vanilla Bean etc.) in the line will be represented by a single color. The product packaging will be white on solid color. The medium will be laser print on gloss label stock.
    The problem is that many flavors will use similar colors. Chocolate items will have different hues of browns and Maple or Nut flavors will also use brown tones. Likewise Orange, Apricot and Mango will use similar hues of orange etc. I know the problem could be solved with dual or multiple colors but I do not have that option for this project. All of the packaging is white on single color. There are no accent colors used.
    I need to generate the palette before designing the packaging in order to create mock ups for print and then photography for print marketing collateral and internet marketing assets etc.
    Does anyone have a good strategy for this or know of any resources available?
    I am using:
    Dell Precision T1700 (64-bit)
    Windows 7 Professional (Service Pack 1)
    Dual screens (not calibrated to Pantone or printer)
    Printer: Konica Minolta bizhub c224e
    Pantone+ Color Bridge Coated and Uncoated book
    Adobe CC, AI, PS, ID etc.
    I am printing onto gloss labels for mock ups and will be using images for web.
    I would also be interested in knowing how to calibrate these devices.
    Thanks!

    When it comes to design and design sense, sometimes just the name of the item could generate ideas.  There really is no right or wrong way to come up with concepts.  But, reaching out to other people is a good way of going about it.  In product development, I always recommend putting together some sort of focus group and brainstorm ideas back and forth.  In larger corporate product departments you would have product managers defining their product descriptions.  You might have a marketing group head get involved.  Well, I know I am not telling you anything you didn't already know.  I'm just saying that, as a designer, I always present my ideas to a few people to get feedback.  And, based on that, I can then further develope the idea or dump it and start over.  I recently was involved with a new product development and came up with some really great conceptuals.  But, then I was told by a product manager that sometimes you have to roll-out something preliminary and, in a few years of selling tons of great items, you then revamp the entire line with a tag that reads "new and improved".  This might work in your case where you have limited resources initially.  Hope you do well.  You could always post screen grabs of what you are thinking and we could give you feedback, too.  Just a thought.

  • JavaBeans Migration Assistant for ActiveX

    Hello, collegues!
    I can't find the JavaBeans Migration Assistant for ActiveX tool on java.sun.com site.
    Could you help me and give me the link?
    Thank you in advance.

    I couldn't find it either, but there is a SourceForge Project
    Jawin that should do the same thing. There was a story
    at http://www.onjava.com/pub/a/onjava/20001/11/14/jawin.html

  • How to build an ActiveX bridge for jasper viewer

    Hi,
    i want to build an ActiveX bridge for Jasper viewer.Does anyone knows How to build an Active X bridge for a component.I am very new to this concept.Please someone help me

    hi,
    can u please give some url's which is helpful to create Activex Bridge?

  • JavaBeans for ActiveX

    Hello every one!!
    i am new to the java beans. i have to use ActiveX control in java. can any body help me out that what is JavaBeans for ActiveX???

    I couldn't find it either, but there is a SourceForge Project
    Jawin that should do the same thing. There was a story
    at http://www.onjava.com/pub/a/onjava/20001/11/14/jawin.html

  • Help for using camera raw in PSE 8/Bridge for Mac for the Canon 7D

    Recently purchasing the Canon 7D, taking a few test photos in Raw, then trying to use Camera Raw in PSE8/Bridge for Mac is a problem.  I cannot figure it out.  Can anyone help this frustrated, novice computer user?

    You need to update the camera raw plug-in for bridge and PSE 8 separately (they use two different copies). In Bridge, just go to Help>Updates which will install, I think, ACR 5.7, which  works with your camera. (You can't update bridge beyond that version).
    For PSE 8, go here, download the latest version and follow the instructions in the readme file.
    http://www.adobe.com/support/downloads/product.jsp?product=40&platform=Macintosh
    Note that the directions may tell you that you can overwrite the old plug-in. That isn't true--you must remove it before putting the new one in there.

  • Can't delete images with adobe bridge for days , don't know how to fix this , can you please help ?

    Can't delete images with adobe bridge for days , don't know how to fix this ? Can you help please ?

    Thank you so much for sharing

  • Need Help using WRT54GL as Wireless Bridge for Xbox

    Hi.
    I need help configuring my WRT54GL as a wireless bridge for my xbox.
    I have a Billion BiPAC 7404VGO currently in service as my main router/modem. i.e. I have my ADSL connection and PC connected to this. I also connect to this with a laptop.
    I have an original xbox at the other end of the house (cat5 NOT an option).
    Basically I want to connect my xbox to the rest of network. I have a WRT54GL I can use for this. I just dont know how to set it up.
    The WRT54GL has Firmware Version: v4.30.7 (out of the box).
    My Wireless network is using WPA.
    I have a VPN setup through to work via the Billion.
    The idea is to stream media from my PC to the xbox (media centre).
    Any help would be HUGELY appreciated.
    Thanks in advance.
    Katman

    A wireless router is a device which requires its own wired internet connection. A wireless router is not a wireless access point like the Linksys WAPs. A wireless router does not connect wireless to other wireless routers/APs with standard Linksys firmware. With Linksys firmware you need a WAP54G or similar. The WAPs support wireless bridging and repeater mode.
    If you already have a WRT54GL then you have to install a 3rd party firmware which adds wireless bridging capabilities. Read the wikipedia article on "WRT54G" for information about which WRT models support 3rd party firmware and an overview of projects and links.
    Remember, however, that you may brick your router if you install a 3rd party firmware incorrectly and you probably void the warranty if you install 3rd party firmware (it is even possible to find out after you restore the original Linksys firmware if you don't clear the NVRAM before).

  • OS X update 10.9.3 can't be installed on this disk. An error occurred while evaluating JavaAcript for the package. Please help!

    My Apple Store, Mail and update was not working for sometimes, when I download OS 10.9.3 and try to install, error message appear: OS X update 10.9.3 can't be installed on this disk. An error occurred while evaluating JavaScript for the package. Please help!

    iMac (27-inch Mid 2011), OS X Mavericks (10.9.3), SL & ML, G4 450 MP w/Leopard, 9.2.2

Maybe you are looking for