Results 1 to 5 of 5

Thread: JAR problems

  1. #1
    Evil Smurf is offline Member
    Join Date
    Aug 2009
    Posts
    6
    Rep Power
    0

    Cool JAR problems

    Hello,
    I am trying to put JARs in a folder I made called "lib", so when I refresh that, they'll be in referenced libraries. But when I try to paste a JAR in lib, it says "Cannot paste the clipboard contents into the selected elements".
    Am I making a stupid mistake?

  2. #2
    Mr.Beans's Avatar
    Mr.Beans is offline Senior Member
    Join Date
    Apr 2009
    Location
    Virginia Beach, Virginia
    Posts
    149
    Rep Power
    0

    Default

    Are you doing this in your desktop manager or in some sort of IDE.

    If so what type of IDE or operating system/desktop manager are you using?

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Seems to me he's using any IDE. If so, the best thing is use the facility of JAR adding/importing to the project. Manually past it into the folder wont work, and most of the time those folders are with some specific attributes, read only bu the IDE. Can you provide more details?

  4. #4
    carderne is offline Senior Member
    Join Date
    Nov 2007
    Posts
    160
    Rep Power
    7

    Default

    Paste it into the folder with your dekstop manager and then in your IDE choose "Add librar/Jar" or something along those lines. You can probably also set a jar folder for your project somewhere, so then it would automatically update itself with whatever you paste in there.

  5. #5
    Evil Smurf is offline Member
    Join Date
    Aug 2009
    Posts
    6
    Rep Power
    0

    Default

    My IDE is eclipse. I'm trying to put gluegen-rt.jar, jogl.jar, and swt.jar into my project. From what I've heard, I'm supposed to somehow put these files in a folder I make called "lib" and when I "refresh" something, they will appear in "Referenced Libraries".

Similar Threads

  1. Few Problems Help!
    By elad_bj in forum New To Java
    Replies: 4
    Last Post: 04-07-2009, 04:45 AM
  2. having problems
    By pinkdiamondgail in forum New To Java
    Replies: 6
    Last Post: 02-07-2009, 12:35 AM
  3. GUI problems.
    By saytri in forum New To Java
    Replies: 1
    Last Post: 12-16-2007, 11:27 PM
  4. a few problems
    By gary in forum AWT / Swing
    Replies: 0
    Last Post: 07-11-2007, 05:57 PM
  5. problems with JPA
    By Ed in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 06:34 AM

Posting Permissions

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