How to use utility jars without -cp

I am trying to use a 3d loader from starfire research to load .3ds files. I currently have the jar in /lib/ext and netbeans sees this and uses it, and everything works perfectly fine. When I use this on other machines for a test, I put the 3d loader jar in to the client /lib/ext folder, but my program cannot find it. Any suggestions on where to put this jar without me having to use -cp every time?
Thanks in advance.

I'll try to explain better. The 3DS Loader I'm using is called StarfireExt.jar. I have two computers that I am using right now: a custom built desktop with Windows XP 32 bit that runs Netbeans, and a Dell laptop that I'm using to test my software. On the desktop, I have JDK1.6u18 with Java3D also installed. StarfireExt.jar is in my C:/Program Files/Java/jdk1.6.0_18/lib/ext/ folder, and Netbeans allows me to import and use StarfireExt. On the laptop, I have JRE1.6u20, Java3D, and StarfireExt in the lib/ext/ folder. When I'm on the desktop in Netbeans and press F6, it runs fine and the 3DS files load and are displayed. When I clean and build the JAR and move all of the models and JAR to my laptop, the program seems not able to find StarfireExt. The models don't load; no error windows that I've coded pop up.
P.S. I'm sorry if I'm kind of a Java newbie. I don't know all those awesome developer tricks yet.

Similar Messages

  • 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 spell checker without mouse?

    Hi,
    how to use spell checker without mouse?
    And how to quickly change between languages related to documents, and be able to quickly get back to the main language setting that should be the default for the system?

    And how to quickly change between languages related to documents
    If you are talking about input keyboards, this is controlled by shortcuts that are explained at the top right of system prefs/language & text/input sources.

  • How to Use Discoverer Desktop without Database User ?

    Hi,
    I am new to Discoverer Desktop,
    How to Use Discoverer Desktop without Database User ?
    Suresh

    You'll need to have access to some sort of database account to use the tool. If you just loaded the tool onto a machine, Disco is not going to be useful - you need to create an end user layer, and business areas.
    I suggest you start here:
    www.oracle.com/technology/documentation/bi.html

  • HOw to use aap store without card

    Hi how to use app store without card

    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • How to use other jar with my executable

    Hello everybody
    I'm developing project in JBuilder which uses BC library "bcprov-jdk15-137.jar" This jar I got in reguired libraries section and it work fine in case that I run my application through JBuilder. Now I created executable jar file for my application but it works wrong. I don't know what dependencies shall I setup in JBuilder
    Can somebody help how can I run my application from jar file and I will use BC lilbrary without problem ?.
    What all shall I setup for correct work ?
    Thanks

    Hello
    I created new project(Frame application) in JBuilder 2006, Im using mentioned library therefore I put it into reguired libraries in project setting. When I run application through JBuilder (F9) it works fine.
    Now I would create executable jar file from my project, which will use this mentioned library. My project has one class CMTModule.class with main function. I created jar file via achrive wizard(AppletJAR). There are options of dependency rules in this wizard, so I choose Includes dependencies. Then I created manifest file and insert this item Main-Class: cmt.CMTModule.
    My application start but works wrong , I mean that there is problem with necessary library is not imported. How can I set up it in order to my executable jar can use this library without problems, because in JBuilder all works fine.
    What's is wrong ?
    Thanks

  • How to use migration assistant without creating dual user accounts

    I want to use migration assistant to transfer apps, software & files on my macbook pro to my new macbook air. How can I do this without creating two user accounts for myself on the m-book air -- my account from the m-book pro & the one that the air makes me create as soon as I do start-up? Can I just use the same name & password for both? or will that make things go badly awry?
    Thanks!

    If you have not booted the MBA for the first time and gone through the Setup Assistant, then I would use the Setup Assistant to make the transfer before you even create another user account. However, if you've already created the new user account on the MBA, then create a new admine one with a different username than the account you will migrate. Log into this new account, delete the first account you made, then use Migration Assistant to transfer your account from the MBP.

  • How to use a jar from a external library DC Project?

    I followed the steps of how to create DC, External Library Project, which contains the jar I want.
    I understood that this type of project can't be deployed so I build and deployed other DC Project from the type J2EE server component Library and added it to it's public part. What do I do next, to actually use the jar and it's imports?
    Thank you,
    Meytal.

    Hi,
    Check this:
    Making a JAR file publicly available
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • How to use rfcnormalizer.jar  in interface mapping

    Hi
    Iam getting one error while doing xml file to RFC scenario.
    the error is like this
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
    As a solution for this i got SAP Note 730870.
    here i have to download rfcnormalizer.jar 
    i have uploaded in integration repository under imported object.
    but iam not able to see this in interface mapping
    now i have to use this in interface mapping .
    Please give me step by step how to use this in interface mapping
    how the interface mapping should be like
    Regards
    veena

    Hi,
    The RfcAdapter trys to find a Sender Agreement for this RFC call but the lookup failes. The values used for this lookup are:
    Sender Party/Sender Service: The values from Party and Service belonging to the sender channel.
    Sender Interface: The name of the RFC function module.
    Sender Namespace: The fix RFC namespace urn:sap-com:document:sap:rfc:functions
    Receiver Party/Receiver Service: These fields are empty. This will match the wildcard
    Regards,
    Suryanarayana

  • How to use LR6 standalone without signing into cc?

    GD this company will not give standalone customers peace and quiet. Shove the creative cloud down our throats whether we want it or not.
    I cannot launch LR6 without being signed into cc. I paid for the stand alone edition. Does anyone know the magic mojo to get the dam thing right?

    I ended here for a slightly different reason (the actual installation - for anyone interested - see below)
    Since I'm here, I can try to give your question, as I understand it, my best shot:
    - To check if your serial number "sticks", i.e. is not in trial or subscription mode: Go to the Help menu - System Info...
       then if the 2nd line in the window that opens reads: "License: Perpetual", that's all you can do, re-installing won't make a difference.
    - In that case, getting that annoying Adobe ID Sign-In message anyway (even if, like me, you don't want to do anything online, sync or otherwise):
       there isn't much else to do but close the window without signing in and confirm to quit - Yes... every bleepin' time you launch LR6
    I have not found a Preference to disable that check, even under the Lightroom mobile tab (which at least, like the Help menu, confirms you're not signed in). Maybe in a future update they'll have an option to disable that check on startup, at least after the first time (but not yet in 6.0.1, the latest one so far)
    Otherwise either cave in and make at least a dummy Adobe ID, or the only other solution: Go back to LR5, unless you need the new functions...
    It's still installed separately on my machine, and I have a pre-LR6 backup of my catalogs,  so I'll play around with it for a couple of days before deciding. It's certainly my last Adobe product.
    Now the reason I ended up here: The INSTALLER actually FORCES you to sign in with Adobe ID even with a VALID SERIAL, which is just plain bovine stuff, and the utterly unhelpful Adobe Chat employee didn't answer my question, pointed me towards Adobe Photoshop Lightroom Help | Serialize Lightroom CC trial to activate as Lightroom 6 (which still expects you to log in, no matter what you try later) and disconnected. Grrrr.
    Here's the work-around for that:
    - DISCONNECT your network connection temporarily (Turn off WiFi, unplug the ethernet cable...)
    - Launch the installer, click on the "I have purchased" half => it will complain there's no internet connection
    - But a "Connect Later" button appears => click on it => get the old serial# screen, enter serial (& if necessary re-connect, then enter prior serial to upgrade )
    - Next screen, Accept Terms, then next screen choose your install options and there you go.
    - You will of course have to get back online to validate the serial within a few days, like before, but at least you skipped the whole Adobe ID Sign-In nonsense, and not deal with the creepy "Starting with this version... share your information with Adobe how you use Lightroom... is turned on by default..."

  • How to use external jar

    i have downloaded a jar file from apache web site how to use it. i mean where it placed to use class of jar in java file.

    Try putting it in your classpath.

  • Gridworld Case Study - how to use a .jar file with textpad

    Hello,
    I am a student currently working on a project involving the Gridworld case study. While trying to work on my project at home, I discovered that I would get new "cannot find symbol" compiler errors that I had not previously gotten while compiling the same code at school. I am assuming this has something to do with the .jar file included in the gridworld code. How do I get textpad and/or the java compiler to find and use the .jar file and reccognise the classes which i am importing and extending in my project?
    Thanks,
    -Alex

    Thanks, It works for compiler now.
    Now, I write a html to run the applet. appletviewer
    says "
    java.lang.NoClassDefFoundError: ij/process/ImageProcessor
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
    at java.lang.Class.getConstructor0(Class.java:1762)
    at java.lang.Class.newInstance0(Class.java:276)
    at java.lang.Class.newInstance(Class.java:259)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
    at sun.applet.AppletPanel.run(AppletPanel.java:292)
    at java.lang.Thread.run(Thread.java:536)
    It seems the appletviewer can not find the right path for the package. How can I fix this?
    Thank again,
    Hillxy

  • How to use enhanced slideshow without .Mac

    (I am Japanese so my English is not good . Sorry)
    I read these iWeb's Discussions and I knew that we can use iWeb's enhanced slideshow without .Mac!
    I read some posts about that , but many links doesn't work and I can't found how to USE.
    So I want source code and, tell me how do I do.
    Please!
    iBook G3 & iMac G5   Mac OS X (10.4.8)   iPod 5G (Black)

    You might be interested in this:
    http://www.codemanic.com/blog-archives/000084.html
    Otherwise, email Cyclosaurus from his web page:
    http://www.geocities.com/[email protected]/

  • How to use client.jar generated by deploytool for a EJB web service

    Hello!
    Could anyone help me?
    I use Sun Application Server to deploy my EJB module and expose it as a web service. Then I open deploytool tree and select localhost under Server branch. In the right panel it shows a list of web services deployed. I chose recently deployed service and press "Client Jar..." button to get generated client stubs.
    Good.
    Could anyone tell me how I should use this jar file? It does not contain ..._Service_Impl.class that is usually used to get service port and call service methods.
    Please, explain me.
    Thank you much

    try
    jar tf Client.jar and look at what is inside.
    Usually you run the client to connect to the server -- (java -classpath blah pack.age.name.Client)
    Dont know how its being done over there.

  • How to use a jar file

    Hi Everybody!
    waits for "Hi Dr.Nick" I need a program that will extract the text from a PDF and I think I may have found it here: http://multivalent.sourceforge.net/Tools/index.html
    However the instructions are a bit wacky and don't seem to work. My goal here is to extract the text from a pdf document so I am going by these instructions: http://multivalent.sourceforge.net/Tools/doc/ExtractText.html
    Currently when I follow the instructions and try to run "java tool.doc.ExtractText a.pdf" I recieve a ClassNotFoundException. the jar file I am using(Multivalent.jar) is currently located is /home/myusername/prog and the current CLASSPATH is also /home/username/prog. Can someone please explain to me what I am doing wrong?
    kthxbye

    Oblivious0823 wrote:
    Currently when I follow the instructions and try to run "java tool.doc.ExtractText a.pdf" I recieve a ClassNotFoundException. the jar file I am using(Multivalent.jar) is currently located is /home/myusername/prog and the current CLASSPATH is also /home/username/prog. Can someone please explain to me what I am doing wrong?You haven't set your classpath correctly. It should include the jar file.

Maybe you are looking for

  • How to update one table from another table?

    Hi, Please go through the case I am mentioning below and if possible try to provide with a solution. I am working on a report to generate cash flow forecast, where in one of the fields is "Payroll", in which its being mentioned as: In the selection s

  • I give up! - waiting for items to copy

    I know a lot has been said on the subject and I've said a few things myself.  However, I've about reached my breaking point and would love it if someone could point me the way to someone at Apple to talk to. I'm referring to syncing and the dreaded m

  • Question about video out on my iPad2.

    I purchased a Skiva Medioflow composit Video / AV cable in hopes of being able to stream apps like ESPN Watch and Big 10 to TVs with only RCA inputs.  What I get is audio and no video.  It appears from what I read, only a few apps, such as itunes and

  • How to design New WebUI report ?

    Hi All, I want to create new reports for Service Contract orders, which should be displayed in WebUI CRM7. I am new to CRM, if anybody worked on this please let me know. Thanks in advance, Umesh

  • [Solved] Firefox 3 betas give me some weird behaviour with images

    I understand that there will be problems with beta software, however I seem to have memory issues with the firefox 2 series, so I thought I'd give the beta packages a try. I'm using the firefox-nightly package from AUR (firefox3b4), and I'm getting s