# Connecting prolog and Eclipse IDE on mac os x

**URL:** <https://swi-prolog.discourse.group/t/connecting-prolog-and-eclipse-ide-on-mac-os-x/1996>\
**Category:** Installing\
**Tags:** swish, how-to\
**Created:** [March 11, 2020, 12:47pm UTC](https://swi-prolog.discourse.group/t/connecting-prolog-and-eclipse-ide-on-mac-os-x/1996 "2020-03-11T12:47:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brain](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/brain/32/935_2.png) [@Brain](https://swi-prolog.discourse.group/u/Brain)\
**Post date:** [March 11, 2020, 12:47pm UTC](https://swi-prolog.discourse.group/t/connecting-prolog-and-eclipse-ide-on-mac-os-x/1996/1 "2020-03-11T12:47:31Z")

</div>

So I’m new to Prolog and have to do a prolog project at my university. I’ve already implemented the prolog source code and all i want to know is how to connect prolog in eclipse IDE on Mac OS X?

---

<div class="post-metadata">

**Author:** ![swi](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@swi](https://swi-prolog.discourse.group/u/swi)\
**Post date:** [March 11, 2020, 5:21pm UTC](https://swi-prolog.discourse.group/t/connecting-prolog-and-eclipse-ide-on-mac-os-x/1996/2 "2020-03-11T17:21:20Z")

</div>

I have not used the `eclipse IDE` with prolog, but SWI-Prolog includes a bundled editor which you can use:

```prolog
$ swipl                                                          
Welcome to SWI-Prolog (threaded, 64 bits, version 8.1.24)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.

For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).

1 ?- edit(file('/tmp/my_program.pl')).
true.

```

A window will pop up where you can edit your program. It is nice because it has all kinds of bells and whistles for prolog code.

---

<div class="post-metadata">

**Author:** ![Brain](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/brain/32/935_2.png) [@Brain](https://swi-prolog.discourse.group/u/Brain)\
**Post date:** [March 12, 2020, 3:49am UTC](https://swi-prolog.discourse.group/t/connecting-prolog-and-eclipse-ide-on-mac-os-x/1996/3 "2020-03-12T03:49:11Z")

</div>

Thanks a lot @swi but what I’m looking for is how to connect prolog and java in eclipse IDE using JPL(Java Prolog) library , not using JPL in **swi-prolog application** but in **Eclipse IDE**.
