Skip to main content



      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 03:34 Go to next message
Eclipse UserFriend
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 146 times)
  • Attachment: javaml-0.1.5.jar
    (Size: 325.01KB, Downloaded 139 times)
  • Attachment: Datathief.jar
    (Size: 289.90KB, Downloaded 119 times)
  • Attachment: err.jpg
    (Size: 127.22KB, Downloaded 153 times)

[Updated on: Wed, 11 November 2015 03:45] by Moderator

Re: Cannot add JAR to project [message #1714287 is a reply to message #1714261] Wed, 11 November 2015 06:52 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Installing Eclipse environment for C++ and PHP
Next Topic:Kepler & Mars
Goto Forum:
  


Current Time: Thu Apr 24 04:10:23 EDT 2025

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

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

Back to the top