Results 1 to 3 of 3
  1. #1
    BigRed is offline Member
    Join Date
    Feb 2009
    Posts
    2
    Rep Power
    0

    Exclamation Importing custom class

    Hi ive been programming with Java for about a year now but still am abit of a beginner and have just started to learn on eclipse for a little while for my dissertation. i am also using matlab with which i am exporting a java class in order to perform specific matlab functions. however it requires an import of:

    import com.mathworks.toolbox.javabuilder.*; //matlabs' jar file
    import magicsquare.*; //class exported by matlab

    and i cannot figure out how to do it in eclipse properly as it gives me an error message every time, ive searched for days and cannot find anything online.

    how do i direct eclipse to those specific locations? plllleeeease help

    thanks

    Arthur

  2. #2
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    7

    Default

    project -> properties -> java build Path -> Libraries -> add external jars...

  3. #3
    BigRed is offline Member
    Join Date
    Feb 2009
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Custom Class, Wrapper/Subclass?
    By Moncleared in forum Advanced Java
    Replies: 3
    Last Post: 02-10-2009, 12:08 AM
  2. Demonstration of the custom InputDialog class
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 08:56 PM
  3. Need help with importing classes
    By Deathmonger in forum New To Java
    Replies: 3
    Last Post: 02-07-2008, 11:03 AM
  4. Importing classes
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-06-2007, 03:27 PM
  5. Importing a Custom Class
    By jfredrickson in forum New To Java
    Replies: 3
    Last Post: 07-11-2007, 12:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •