Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cannot add JAR to project(Cannot add JAR file to a project)
Cannot add JAR to project [message #1714261] Wed, 11 November 2015 08:34 Go to next message
Jonathan Camilleri is currently offline Jonathan CamilleriFriend
Messages: 91
Registered: July 2009
Member
I am trying to add an external library (JAR) to a project to be able to do some coding, however, I am missing a step or two as I fail to comprehend where to add the library to the project and how to reference it.

This problem occurs with Eclipse IDE release 4.5.1.

An online guide at http://www.wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-%28Java%29 seems to indicate a procedure for generic use of application developers.

JAR files
I was trying to see if I can use the software at http://www.jidesoft.com/products/download.htm for my machine learning projects.

Other projects that I would like to see samples of include
Datathief
javaml
I am attaching the JAR files as I had downloaded them.

Further reading
Machine learning available online at https://en.wikipedia.org/wiki/Machine_learning.

The file err.jpg indicates that not all classes were exposed to public view, can I change this since I only have .class files?
  • Attachment: err1.jpg
    (Size: 49.82KB, Downloaded 131 times)
  • Attachment: javaml-0.1.5.jar
    (Size: 325.01KB, Downloaded 112 times)
  • Attachment: Datathief.jar
    (Size: 289.90KB, Downloaded 94 times)
  • Attachment: err.jpg
    (Size: 127.22KB, Downloaded 138 times)

[Updated on: Wed, 11 November 2015 08:45]

Report message to a moderator

Re: Cannot add JAR to project [message #1714287 is a reply to message #1714261] Wed, 11 November 2015 11:52 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Jonathan,

What kind of project? The fact you have DSL package suggests you're
building plugins. In that case you generally create a folder, e.g.,
libs, copy them into that folder, and edit the MANIFEST.MF to use the
Runtime tab to add that folder to the classpath.

On 11/11/2015 9:34 AM, Jonathan Camilleri wrote:
> I am trying to add an external library (JAR) to a project to be able to do some coding, however, I am missing a step or two as I fail to comprehend where to add the library to the project and how to reference it.
>
> This problem occurs with Eclipse IDE release 4.5.1.
>
> An online guide at http://www.wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-%28Java%29 seems to indicate a procedure for generic use of application developers.
>
> JAR files
> I was trying to see if I can use the software at http://www.jidesoft.com/products/download.htm for my machine learning projects.
>
> Other projects that I would like to see samples of include
> Datathief
> javaml
> I am attaching the JAR files as I had downloaded them.
>
> Further reading
> Machine learning available online at https://en.wikipedia.org/wiki/Machine_learning.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Installing Eclipse environment for C++ and PHP
Next Topic:Kepler & Mars
Goto Forum:
  


Current Time: Thu Apr 25 13:59:22 GMT 2024

Powered by FUDForum. Page generated in 0.10460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top