How to add external jars in the configuration of JSmooth?

Hello,
I am trying to create an exe file from a java program using JSmooth.
The program is a simple hello world proogram.
I am developing under eclipse, and I am using some external jar files as libraries.
If my program is simple,; it works fine. If I add an import of a class that is in one of these jar files, I get the following error when executing the created .exe file:
"Could not find the main class. Program will exit".
I guess I have to add this Jar file to the path for the creation of the .exe file.
My question is: does anybody know HOW to add an external jar in the configuration of JSmooth for the creation of an exe file from a Java program?
Thanks for your help
Philippe

i have the same problem phsans
you know the answers??
thanks phsans:D

Similar Messages

  • How to add external jars when deploying webapp via worksop for wls 9.2

    While attempting to deploy my web application using Workshop for WLS 9.2, WLS complains it is unavailable to resolve references to a 3rd party JAR(tomhawk.jar) which is being referenced by the JSPs. I have added the JAR via the J2EE module dependancy tab in workshop but that does not seem to be helping the deployment.
    If i build the web application outside workshop and include the tomhawk.jar in the WEB-INF/lib folder of the deployed WAR file, the app works fine.
    I have attempted to copy the tomhawk.jar into the <domain>/lib folder and restart the weblogic server. But this does not seem to help resolve the references.
    Any clues on how i could achieve iterative deployments via workshop for WLS 9.2 pickup references to external JARs being referenced by the JSPs.
    Thanks
    Ramdas

    Raj,
    Thanks for your suggestion. The link that you sent out was useful. I was actually able to get the webapp to resolve its references to the 3rd party classes by adding the tomhawk.jar as an external jar via the "build path" property for the web project. I tested this by running the app in the WLS instance hosted by workshop and looks like the JAR from the build path gets somehow referenced during run time too. Not sure how this works?
    Thanks
    Ramdas

  • How to add external user to the group programmatically in SharePoint?

    Hi all,
    I want add an external user to a sharepoint group:
    When I run the below code in ConsoleApplication the user will be added to the DemoGroup,
    but when I add my code to User Control and run the code on SharePoint it doesnt work and I get an error:
    The user does not exist or is not unique.<nativehr>0x81020054</nativehr><nativestack></nativestack>
    Now I change the code:
    SPUser user = spWeb.EnsureUser(userName);
    I get again an error:
    The Specified user i:0#.f|IT2S|Doe, John was not found.
    string extName = "Doe, John";
    string domainName = System.Environment.UserDomainName;
    // in sp this is way how we get the domain:
    //string domainName = System.Environment.GetEnvironmentVariables()["USERDOMAIN"].ToString();
    web.AllowUnsafeUpdates = true;
    string userName = string.Format("i:0#.f|{0}|{1}", domainName, extName);
    web.SiteUsers.Add(userName,"[email protected]", extName, "0222");
    SPUser user = web.SiteUsers[userName];
    if (user != null)
    web.Groups["DemoGroup"].AddUser(user);
    web.Update();
    web.AllowUnsafeUpdates = false;
    can anyone please help me and say why that not work? Or if someone have an idea?
    thank you in advance
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

    Hi Linda Li,
    yes I solve the issue with FBA:
    http://chrisbarba.com/2013/07/16/sharepoint-2013-forms-based-authentication-fba/
    and
    http://sharepointsolutions.blogspot.de/2012/08/configuring-forms-based-authentication.html
    with above links I solved the task.
    Best Regards
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • How to include external jars - URGENT...

    Hi:
    I am using Eclipse for development.
    My application uses some external jars.
    This step is simple in Eclipse, one simply indicates where the jars are to the IDE.
    However, when I make an executable JAR file from my project, those external JARs are not included.
    So when I run my program, everything is fine until the parts that uses the external JARs.
    Does anyone know how to include them outside of Eclipse platform?
    I am going to see my client in an hour and of course I can't bring my source and install an Eclipse at my client's computer to show them my demo...
    please help... thanx...

    You add those external jars to the classpath or the jars classpath if you're running the program from a jar. Or put the external jar to JAVA_HOME\lib\ext (IIRC)

  • How to handle External Jar files in EJB DC

    I have created a EJB DC.
    I have added the required MDM Jar files to the class path.
    These MDM Jar files are supplied by SAP for integration with Master Data Management.
    But the DC build fails.
    If I create the same project as a <b>REGULAR</b> EJB (non-dc approach)project, everything works fine.
    Qn:
    How to bundle the MDM jars (External jars)in a DC?
    How to create the Public Parts in the DC for the added MDM External Jars?
    How to use the above DC in the EJB DC?
    Basically, I am looking for a step by step procedure,
    to add external jars in a DC.
    And to use the above DC in a EJB DC.
    Any assistance in this regard is appreciated.

    You should not reference the MDM jar files by setting classpath directly. For setting references to it from your EJB DCs , you will have to create a DC of type "External Library". Deploy this DC also before your EJBs are deployed. You will then have to create a public part for this DC and the reference the public part from the DC metadata of the EJB DC ie set the Used DC list of EJB DC to the public part of the ext lib. You will get info about this in NDS help as well on help.sap.com

  • How to add SDK jar file in NWDS

    Dear Friends,
    Currently i have an issue. I have to bring the BO favorite to my Portal Screen. My Portal is developed in PDK.
    I have few links where the source code is writhen. Those link's are
    /people/michael.nicholls/blog/2010/02/22/using-the-pdk-to-access-businessobjects-infoview
    http://wiki.sdn.sap.com/wiki/display/Snippets/ReadInfoViewfavoritesfromthe+portal
    I don't know more about BO. I have few points which i mentioned below.
    1) How to add SDK jar file in NWDS.
    2)DO i need any specific package for that.
    Kindly help me with your Valuble suggestion and document.
    Thanx in Advance.
    Prashant Krishen

    Hi,
    for adding all the jar files in NWDS fallow below steps
    windows >> preferences >>Java>>Java buildpath>>Libraries>>add external jars
    Hope this helps
    Edited by: polaka123 on Nov 13, 2010 12:44 PM

  • How to use external jars in NW2004

    Hello Experts,
    can i use the same approach mentioned in the below Weblog for using the external jars in NW2004.
    /people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components
    and if not then what will be the best way to achieve it in  NW2004.
    Please provide your inputs on above.
    Regards,
    Siddharth

    Hi Sidharth,
    If you are using web dynpro DC perspective then you need to follow the following points to use the external jar files in it.
    1. Create a external library project.
    2. copy the external jars in the library folder os the projects.
    3.) Select all the jars from the u201CLibrariesu201D folder, Right click and then select Development Component and click on Add to Public Part
    4.Select the first Radio Button (Provides an API)and give some nameto it.
    5. Repeat the step no 3 but now select the second radio button other than as selected in step no 4.
    6. Now build your lirary DC.
    7. Now create a j2ee DC project.
    8. ) Expand the node DC Definition and Right Click on Used DC. Select Add Used DC.
    9. Select the External Library DC with build time dependency.
    10.Right click on the J2EE DC and then select Development Component followed by Build
    11. Right click on the J2EE DC and then select Development Component followed by Deploy
    now you can use both the libary DC and the j2ee DC in your web dynpro DC as used DC.
    But if you have created a web dynpro project only(but not DC) than you can directly add the external jars in java build path
    hope this will help
    regards
    Narendra
    Edited by: Narendra Singh on Oct 27, 2009 11:22 AM

  • How to use external JARs in Eclipse

    Hello.
    I created a jar file like that:
    jar -cvf0 WarShell.jar WarShell.class
    I want to use WarShell.class in Eclipse but it not in my classpath,so I choose [Project] -> [Properties] -> Java Build Path -> Libraries -> Add External JARs and add WarShell.jar to the list.
    But when I run the program I got a Exception:NoClassDefFoundError.
    Why?How to fix it?
    Another question... Your classpath is not available in Eclipse,right?
    Thanks for your time! ^_^

    Hello.
    I created a jar file like that:
    jar -cvf0 WarShell.jar WarShell.class
    I want to use WarShell.class in Eclipse but it not in
    my classpath,so I choose [Project] -> [Properties]
    -> Java Build Path -> Libraries -> Add External JARs
    and add WarShell.jar to the list.
    But when I run the program I got a
    Exception:NoClassDefFoundError.
    Why?How to fix it?Did you run your program from Eclipse ?
    If yes, it should work (or seek for an Eclipse-specific forum.)
    But if not, keep in mind that your project settings are limited to Eclipse. You'll have to define a correct classpath for running your application.
    Another question... Your classpath is not available
    in Eclipse,right?Mine? I don't think it is available for anyone ;-P

  • ADD EXTERNAL .JAR

    Good morning.
          I need to add an external library to my project. The library is the Apache POI (http://poi.apache.org/). Anyway, I do not know how to do it because it gives me many problems. I tried modifying the classpath and placing it in the lib folder of the project from "Navigator". Also project properties, add. jar outside, and throws me the following error:
    The project not was built STI Since classpath is incomplete. Can not find the file class for java.lang.Iterable. Fix the classpath Rebuilding Then try this project. "LocalDevelopment ~ name ~ vendor."
    Also this:
    Indirectly this compilation unit references the missing type java.lang.Iterable (typically Some required class file is referencing a type Outside the classpath).
    Given these errors, I know my includes without problems and I can instantiate objects from library classes, but these errors I can not deploy.
    I read the following link:
    /people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components
    but my version is 2.0.14 NetWeaver. On the other hand, did not understand because they do not know how to add "External Library DC. "
    Infinitely appreciate any help. Thank you very much.

    I'm trying to work with POI that can be found in http://poi.apache.org/. The. jar I'm adding are
    commons-logging-1.1.jar
    junit-3.8.1.jar
    log4j-1.2.13.jar
    poi-3.7-20101029.jar
    poi-examples-3.7-20101029.jar
    poi-OOXML-3.7-20101029.jar
    poi-OOXML-schemas-3.7-20101029.jar
    poi-scratchpad-3.7-20101029.jar
    Of the code is
    HSSFWorkbook HSSFWorkbook book = new ();
    / / Create a sheet inside the book
    HSSFSheet libro.createSheet leaf = ();
    / / Create a row within the sheet
    HSSFRow row = hoja.createRow (0);
    / / Create a cell within the row
    HSSFCell fila.createCell cell = ((short) 0);
    / / Create the contents of the cell and gets into it.
    HSSFRichTextString HSSFRichTextString text = new ("hello world");
    When I look for the "Organize Imports" I do not recognize any other additional library
    Edited by: Daynet1840 on Feb 26, 2011 3:19 PM

  • How to add external library in class path folder for use in Java call-out?

    Hi,
    I am working with Java callout component in OSB 12c using Jdeveloper.
    Thing is Jar what i am using to perform conversion of json to xml that using external libraries.
    When i have give reference of my project jar to java callout it doen't found external libraries.
    Could you please tell me how to add external libraries in class path folder or How to use to add it through web-logic server ?
    Thanks,
    Pavan

    Hi,
    Thanks, I have solved issue.
    We can add on following path in windows pc:
    C:\Users\your_usename\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\lib
    One you add your external lib here then do restart weblogic server instance.
    Now, you have that external lib or jar in use.
    Cool!

  • How to add a role to the Portal Favorites

    Hello gurus,
    I have a role to add to the Portal Favorites to avoid drilling down to many levels, does anyone know how to add a role to the Portal Favorites?
    Thanks in advance for your response.
    Regards,
    Niki Nguyen
    Message was edited by:
            Niki Nguyen
    Message was edited by:
            Niki Nguyen

    Niki,
    The documentation says that
    The Portal Favorites iView contains a freely definable list of links for direct access to items that you use regularly. This can include the following:
    &#9679;     Portal pages and iViews that run as full-page applications
    &#9679;     Documents, folders, and other items in KM repositories
    &#9679;     External items, such as Internet pages
    So we can't do it for Roles.
    For detailed information see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/3a/d609e5803111d5992f00508b6b8b11/frameset.htm">Portal Favorites</a>
    Mr.Chowdary

  • How to add these system in the system ID list?

    Hello:
        Now I have a another problem in Setting Up Central Auto-Reaction Methods.I have created in solution manager,  In the system ID list,I want to have development system ,production system,and other system,because I want to alert these system,but I don't know how to add these system in the system ID list?Dose it need RFC?
        Please someone tell me.
         lexian
         Thanks a lot!

    Lexian,
    You need to some of these things for the SAP systems to show up in Solution Manager
    1. Install the Monitoring Agents (SAPCCM4X for ABAP instance and SAPCCMSR for J2EE instance etc)
    2. Configure RFCs from Solution Manager to the Satellite (SAP) systems.
    3. Create CSMREG user.
    4. Create Monitoring jobs.
    These are just some of the things that you will have to do. Refer this link on how to do this
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7da1505211d189550000e829fbbd/frameset.htm.
    This is for the broader view of the entire thing
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7da1505211d189550000e829fbbd/frameset.htm
    I would suggest starting with the second link.
    Let us know if you have any questions
    Kunal

  • How to add external images onto a control and still be able to resize

    Hello,
    I'm a LabVIEW newbie.  I'm trying to customize the appearance of my VIs, and one of the things I like to do is to import external image and paste it onto the faceplate of the gauge indicator.  I've followed the instruction in the Labview application note using the control editor and was able to paste the picture into indicator.  But when I use it in the front panel and resize the gauge indicator, the image (added as a decoration) doesn't resize together with the indicator.  My questions are:
    1. How to add external images onto a control/indicator and still be able to resize the image automatically when I resize the control/indicator?
    2. How to "add" a new part to an existing control/indicator?  It looks like I can only customize/modify the existing parts of the control/indicator in the control editor. 
    Any help is appreciated.  Thanks.

    1/ Do not use the image as an added decoration. Instead replace part of the control with the image. Tis is illustrated in the attached vi : the arrow was pasted as a decoration, and also used to replace the slide cursor. Changing the control size do not affect the decoration, but changes the cursor.
    2/ What do you mean by adding new parts to a control. We have just seen that it was possible to modify a control. Now, if you want to include additionnal functionnality, that's another story. You can replace parts of the control, and this can give interesting results.  You can edit a slide control, and replace the numeric indicator by another control, including a numeric indicator, that you can replace with etc...
    But there, it still the same info displayed under different forms. If you want to have several independant functions on the same control, such as a string display and a boolean and a numeric indicator, then that's a job for a cluster...
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Slide with Arrow.vi ‏13 KB

  • Applet not finding oracle.jdeveloper.layout.XYLayout. How to add to jar?

    hey guys, i have created an applet and it is unable to find oracle.jdeveloper.layout.XYLayout. How might I add this to my jar to be able to deploy it?

    not.
    Figure out what jar it's in, and add that jar to the classpath for the applet (and thus to the webserver in a location where the applet can load it from).
    See the documentation to figure out how to set an applet classpath.

  • How to add more comments in the Nomination Header notes tab

    Short Text 
    How to add more comments in the Nomination Header notes tab 
    In the nomination screen, there are the tabs for header and item notes.
    Within each of those tabs, there are categories for the type ofcomments. Currently in the nomination maintenance screen header notes
    there are onlythree comment categories are available 1) General comments 2) Carriercoment 3) Shipper Comment and We would like add more comments in this
    section. In the configuration we couldn't find a place where we can add
    more customer specific comments. Can we add comments in the header
    notes tab and if so where can we add the additional comments ?

    Hello Giri,
    You could try the following to create new text types for nomination header.
    1) Execute transaction SM31
    2) The view here is V_TTXIDI
    3) Click on maintain .
    4) Create new entries .
    5) Since you want to add new more comments in the nomination header enter the text object as OIJRCODE_H
    6) Enter a text ID starting with Z
    7) Enter a description and save the new entry.
    In case you want to add new comments at the item level use the text object as OIJRCODE_I.
    When you restart the transaction O4NM again you will see the new entry added.
    This will solve the issue.
    Regards,
    Sandil

Maybe you are looking for

  • Why does iTunes repeatedly think I'm logging in with my Apple ID from a new computer?

    To start, I figure I should give a little background... I have three computers authorized for use: Home PC, home laptop and work laptop (all Windows).  I also have my iPhone 5 and an iPad Mini authorized as devices for use.  I do 90% of my iTunes pur

  • [JSP] Opening a web page?

    Hello, Basically, I am using JSP to accomplish something on my website. I am familiar with Java (not that I am good at it or anything), and the syntax is obviously quite similar to JSP. What I would like to do is open a web page (say http://www.googl

  • Idsync resync java error Sun-- NT

    Hello there, We're trying to sync a Sun DS 5.2 with Id Sync for Windows 1 2003Q4 with an NT primary domain controller, and have run into some errors when idsync resync is run for the first time. # ./idsync resync -D "cn=Directory Manager" -w "ourpass

  • Defining User specific printer

    Hi, Our client uses barcode printing in process orders.  Process orders are printed automatically upon order release and also using COPI they reprint the process order. Now all the users (* - generic) in the Plant'A' uses Printer 'A'(Output Device) w

  • Urgent Help templates

    hi i am having a problem with the template in dreamweaver. what is is happening is i have created a design in fireworks and put it into dreamweaver and put some text on it and saved it as a template. when i create a new document from this template i