Where to put RXTXcomm.jar so NetBeans can find it?

I am trying to write a program for the RPi in Java, that will read and write a serial port.  I have downloaded RXTXcomm.jar and the appropriate so file.  So far I have benn unable to find the right place to put the RXTXcomm.jar file so that NetBeans can find it.  I have tried Java_ME_platform_SDK_8.0/lib/ext and jre1.8.0_20\lib\ext.  I have also gone into the project properties and specifically told it to look in the  Java_ME_platform_SDK_8.0/lib/ext director but NetBeans still does not find the classes.  I have also imported the gnu.io.* package in my program but NetBeans doesn't find the package.  Any help would be greatly appreciated.

Hi!
To read/write serial port you don't' need any side libraries. Simply use either Device IO API or MEEP GCF.
/Sergey

Similar Messages

  • Where is the highlighter??? can find it on the new DC!!!!!

    where is the highlighter??? can find it on the new DC!!!!!

    Hi Maria,
    I can understand your concern & will help you with that.
    1) Please open your PDF in Acrobat / Reader DC.
    2) Choose the Comment tool from the right.
    3) All the Commenting tools will appear at the top as shown in the screenshot below.
    4) Select the circled one to highlight the text. You can also check the name of the tool by hovering your mouse over it.
    I hope this will resolve your issue.
    In case if you still experience any issue or have any query please let us know. We will be happy to help you.
    Regards,
    Aadesh

  • Urggggent...where to put xmlparserv2.jar

    hi guys i want to use DOM and i dont know where to put this file so when i import it JDev recognize it;

    Go to your project's settings dialog and look under the libraries item. You'll be able to define a new library there (which uses your jar file) that your project can use.

  • OWSM: Where to put additional jars for a custom step

    I'm in the process of creating a custom step for OWSM. The step relies on some additional libraries that are not found on the server at the moment. Where do I put them so that my custom step will find them?
    I'd like to avoid packaging them into the steps jar file if possible.

    You can put anywhere and probably create shared library in your server.xml and import them in following shared libraries:
    oracle.wsm.policymanager
    oracle.wsm.gateway
    oracle.wsm.coreman
    oracle.wsm.ccore
    HTH,
    Chintan

  • Where to put custom .jar-files in order to use them in scripting QPAC?

    Hi,
    For testing purposes, I wrote a simple class and put it in a .jar-file to use in scripting QPAC. Unfortunately, I get the following error message in JBOSS:
    Class: FooBar not found in namespace
    Where do I have to put custom library (jar-)files in order for JBOSS to find them? I already tried
    [...]\jboss\lib as well as
    [...]\jboss\server\all\lib.
    Regards,
    Steve

    Hi Steve
    You need to put them in two places:
    1. In the server classpath, so that they can be found at runtime. jboss\server\all\lib should work, or you can even drop them into the server/all/deploy directory. I think if you put them in the lib directory, you need to restart Jboss, whereas if you put them in the deploy directory, they should be dynamically picked up.
    2. For testing purposes, the extra jars need to be in the classpath of the Workflow Designer. Please download our SQLPlus QPAC from:
    http://www.avoka.com/avoka/qpac_library.shtml
    It includes a document that describes a technique for adding extra jars to the classpath.
    Regards,
    Howard
    http://www.avoka.com

  • Where to put utility jar (used by EJB's and war)

    Hello all,
    In many cases when you create a web application including EJB's and a WAR file packaged together in an EAR file, you need some utility classes that are used in the EJB's as wel as in the servlets in the WAR. The utility classes might for example be value object classes that servlets use to exchange data with te EJB's.
    My question is: What is the best place to put the utility class files?
    There is a new article on JDC: http://developer.java.sun.com/developer/technicalArticles/J2EE/build/ that gives some tips. For example, it proposes to put the utility JAR in the EAR file and then add a "Class-Path:" entry to the MANIFEST.MF of the EJB's that use the utility classes.
    However, this approach does not work on BEA Weblogic 6.0. Weblogic's classloader just seems to ignore the "Class-Path:" in the EJB JAR's manifest.
    Any thoughts?
    regards
    Jesper

    The "CLASS-PATH" mechanism in that article is a new
    requirement in J2EE 1.3 (final draft 4). Therefore
    right now Weblogic does not support it yet. Now you
    need to put those utility classes in both the WAR (in
    WEB-INF/lib) and EJB JAR files. If you really want
    only 1 copy of the jar file deployed, you can manually
    add that jar file to weblogic server classpath in the
    start script under config/yourdomain.HI all,
    I have some Utility jar file for EJB and Web Application,
    In the second solution about one copy in weblogic,
    I tried it in the WLS60 it's ok
    But it didn't work in WLS61
    Anyone could give me any good suggestion?
    Moen

  • Where to put inf File so Servlets can read it?

    Hi
    I have a .inf file that contains the location of a database and of my smtp server. I have some servlets that make calls to java classes that read this file in order to access a DB and send emails etc. Where should i put this file so that when i come to run my project on apache the servlets and java classes can see and use the inf file? Do i need to put it in the WEB-INF directory etc? Do i need to add anything to the Web.xml file etc?
    Thanks
    David

    Thanks, ive set it up so it now uses a properties file which is placed in the same package as the class file on apache. But in order to read the file i need to put an absolute path in e.g.
    Properties props = new Properties();
    props.load(new FileInputStream("C:/apache-tomcat-6.0.10/webapps/ROOT/WEB-INF/classes/coreservlets/message.properties"));
    however i want to use a relative path, somethin like:
    props.load(new FileInputStream("/message.properties"));
    but this does not seem to work, do i need to define a realtive path using different syntax or do i need to place the properties file in a different place or change some configuration settings in apache?
    Thanks
    David

  • Where to put jar files reachable for ejb:s?

    Hello!
    I have a ejb that use some jar files.
    But I can not figure out where to put the jar files that I use from my ejb in Weblogic 8.1.3.
    Until now I have extracted all jar files and put them inside my ejb with my own class files. But this seems odd.
    So please help me out here.
    Best regrads
    Fredrik

    Dear,
    You might have downloaded either tar.gz or zip file. when you extract this file you will find a jar file and also some demos nad docs(api+help). place the poifs api jar file in 'WEB-INF\lib" folder and restart the server.
    In general any api jar files for web applications should be placed in WEB-INF\lib folder then only they are accesible. If you extracted the jar, then place entire package structure in WEB-INF\classes directory
    Regards,
    Nishant Kulkarni
    Software Engineer
    Bangalore
    [email protected]

  • About using jar in netbeans

    I am using netBeans3.6
    I want to use jxl.jar in netbeans;but no matter set CLASSPATH for jxl.jar or do another thing,netbeans cant find this jar,so that I cant import it;
    how to let netbeans can find jxl.jar?

    解决了,哈哈哈哈哈哈哈哈哈哈;爽!

  • Please, where I can find the user guide for Macbook Air

    Where , on the site of Apple, I can find a user guide for Macbook Air?
    A new buyer of Apple products

    somehwere in this list you will find the one for your model: http://support.apple.com/manuals/#macnotebooks

  • Netbeans can, jar can not - NoClassDefFoundError: javax/mail/Address

    I have made a simple java application to send out emails. It works on Netbeans. That is, after compilation on Netbeans, and then run it on Netbeans, the email can be sent out successfully.
    But after I made a jar file with cmd.exe, and then try to run it on cmd.exe, it throws the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Address
    Can anyone help to illumine?
    thanks a lot!

    I did, doesnt work. program only works if I run jar file from location where netbeans puts jar for distribution. If I copy the jar file from the dist to the directory I want to run the jar file, it cant find the other jar i want to include.
    I have my program which compiles to a jar for distribution. In netbeans i point to a sqljdbc.jar for connecting to SQL Server. Running it from netbeans works fine. Copying the lib directory in the dist directory together with the jar to my destination where I want to run the program works fine too. But I would like to link to the sqljdbc.jar at its original location.
    I have added C:\applibs\sqljdbc.jar to the path in Start >> My Computer >> Properties >> Advanced >> Environment Variables. Doesnt Work.
    If I copy C:\dev\myapp\dist\myapp.jar to C:\apps\myapp.jar without copying C:\dev\myapp\lib to teh same location as well, it doesnt run. It gives the NoClassDefinationError when run at the command prompt
    C:\apps>java -jar myapp.jar
    I even tried
    C:\apps>java -classpath .;C:\C:\applibs\sqljdbc.jar -jar myapp.jar
    Its like the -classpath flag is being ignored. So obviously there is a concept I am misunderstanding. I read somewhere that I have to build my own jar file. Is that the only option? Should this theoretically be working? Can you just copy the jar file from the dist directory to run somewhere else provided the libs it uses is in the path at an OS level?

  • Where to put Third Party Jars in an .ear file

    Where to put Third Party Jar files in an .ear file so that they can be packaged along with the entire application and thus bypass the trouble of putting the third party .jars inside the application server lib directory and set the class path.

    Just put them in the root of your EAR. You can specify them in the classpath of your EJB JAR's manifest.

  • Where do I put the .jar file for the database connection?

    I am trying to connect to an Oracle 11g database. I see under the coldfusion settings summary that the java version is 1.7.0_55. So I downloaded the ojdbc7.jar file from Abode.com. Now the question is where do I put it so that coldfusion can access it?
    Of course I need to set up the database connection (which I still don't have the connection string for), but I still need to know where to put the ojdbc.jar file.
    Thanks.

    jasonwryan wrote:What does the man page say?
           The  program  has builtin defaults and temperature thresholds but users
           can   specify   their   own    settings    in    configuration    files
           /etc/default/i8kmon  and  ~/.i8kmon.   The daemon defines 4 states with
           different fan speeds ({0 0}, {1 0}, {1 1}, {2 2}) and  for  each  state
           are  defined  the temperature thresholds which cause the switching to a
           higher or lower  state.  Furthermore  each  state  can  have  different
           thresholds  for operation on ac power or battery.  For example the fol‐
           lowing configuration:
    I've put the following file in /etc/default/i8kmon:
    # Run as daemon, override with --daemon option
    set config(daemon) 0
    # Automatic fan control, override with --auto option
    set config(auto) 1
    # Report status on stdout, override with --verbose option
    set config(verbose) 1
    # Status check timeout (seconds), override with --timeout option
    set config(timeout) 1
    # Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
    set config(0) {{-1 0} -1 50 -1 50
    set config(1) {{-1 1} 50 70 50 70}
    set config(3) {{-1 2} 70 128 70 128}
    But it doesn't seem to do anything. I'm running a Dell Inspiron 3521 with no dedicated GPU, so it only has one fan. I was somehow able to get i8kmon to work in Ubuntu by putting this config in /etc/i8kmon, but can't get it to work in Arch. Putting it in /etc/i8kmon and /etc/default/i8kmon doesn't do anything.

  • Where do we put common JARS in enterprise/web applications

    Hello everyone,
    Could someone please advice me as to a good/best way to handle this scenario:
    1. an EAR contains a bunch of web applications, which have to use a common archive of classes, like an XML parser for instance. Where can i put this JAR? the brute way would be to put in the WEB-INF/lib of every web-app, but...?
    Grateful for any suggestions,
    deepak

    Well... depends I suppose on your container. We use IBM's Websphere... and we have several EAR's that contain a half dozen or so dependant JARs... we "import" them into the EAR, and then whoever must have access to these dependencies references the EAR's path in the "Java Buildpath" and "Module Dependencies"
    The dependant JARs are just put into the root directory of the whatever EAR we happen to be dealing with.
    The trick is in whatever resource (i.e. EJB) is making sure that its MANIFEST is aware of the location of the dependant JARs, which IBM's Websphere Application Developer Studio handles all that stuff for you.
    ./dave

  • Jdbc where to put the postgresql.jar [postgresql 7.4]

    I am running tomcat-5.0 with postgres. I downloaded the correct version of pg74jdbc.jar.
    But my JSP stops and says it can't find the class in the postgres.jar with a stack trace in the browser at the following code,
    Class.forName("org.postgresql.Driver");
    it think this comes because it can't find the postgres.jar file. I have put it in /usr/local/pgsql/share/java/postgres.jar with no success then restarted the server moved it to /usr/lib/java/jre/lib tried it with no success, tried it setting in both paths with no success. I have set the CLASSPATH with the corresponding names also.
    Where do I have to put this file?

    you using linux?? you should not have to restart server, but restart services.
    put postgresql.jar in /tomcat5/common/lib

Maybe you are looking for