Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Missing Substance file

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Missing Substance file

    This is the error i get a compile time.

    A friend gave me this source... im sure all i have to do is include a lib or something but i have very little java knowledge, Help would be appreciated


    Exception in thread "Thread-0" java.lang.Error: Unresolved compilation problems:
    The import org.jvnet cannot be resolved
    The import org.jvnet cannot be resolved
    SubstanceLookAndFeel cannot be resolved
    RavenGraphiteSkin cannot be resolved to a type

    at Deselect.<init>(Deselect.java:19)
    at Control.run(Control.java:425)
    at java.lang.Thread.run(Unknown Source)


    Anyone know how to fix this or is there a lib import can some one help please

    Thanks


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Missing Substance file

    You need to figure out what library org.jvnet is in, get the library, and add this to your classpath (the ways to do so specifically can be dependent upon the IDE you are using).

  3. #3
    Junior Member
    Join Date
    Mar 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Missing Substance file

    Quote Originally Posted by copeg View Post
    You need to figure out what library org.jvnet is in, get the library, and add this to your classpath (the ways to do so specifically can be dependent upon the IDE you are using).
    I got the libary i just dont know where to place it, I have netbeams Tut anyone?

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Missing Substance file

    Google "add external jar netbeans" and you will pull of tons of descriptions

Similar Threads

  1. Missing Return Statement in If-elseIf-else
    By chronoz13 in forum Loops & Control Statements
    Replies: 2
    Last Post: October 12th, 2009, 07:01 AM
  2. Prime number generator program missing return statement
    By 03EVOAWD in forum What's Wrong With My Code?
    Replies: 13
    Last Post: September 10th, 2009, 09:17 AM
  3. Error of "Class has no return statement"
    By mdstrauss in forum What's Wrong With My Code?
    Replies: 7
    Last Post: August 2nd, 2009, 12:00 PM
  4. Java error in password generator program
    By Lizard in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 16th, 2009, 07:49 PM
  5. [SOLVED] Java program to generate 10 random integers and then sum computed
    By Lizard in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 14th, 2009, 12:33 PM