This week's giveaway is in the Spring forum.
We're giving away four 3 month subscriptions to Marco Behler Videos and have Marco Behler on-line!
See this thread for details.
Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Eclipse with Thinking in Java libraries  RSS feed

 
Fergus Flanagan
Ranch Hand
Posts: 43
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bruce has his own libraries which I'd like to use as I work through his book TIJ 4th ed.

The problem is I was hoping to use the latest eclipse IDE instead of something like Notepad++ and the console. I've no idea how to implement his code so it will work within the Eclipse IDE and I've tried this but failed to get it to work.

Would appreciate any help or suggestions.
 
Knute Snortum
Sheriff
Posts: 3837
91
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tell us what you tried and how it failed.
 
Fergus Flanagan
Ranch Hand
Posts: 43
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Knute Snortum wrote:Tell us what you tried and how it failed.


Oh dear wish you hadn't asked that. I followed the instructions through to the end and after completing step 3 I still had errors so I ended up deleting everything I'd done. As those instructions were 6 years old and Eclipse has obviously gone through many changes since.

I was hoping there would have been more formal instructions somewhere.
 
Henry Wong
author
Sheriff
Posts: 23260
124
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Well, it kinda varies with version to version, but for the most part ... it is ...

Right click (project) --> properties --> Java Build Path --> Libraries --> Add external Jars ... if you want to add a jar archive to the build. And, at the same submenu, add class folder, if you want to add a directory of class files to the build.

Henry
 
Fergus Flanagan
Ranch Hand
Posts: 43
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:
Well, it kinda varies with version to version, but for the most part ... it is ...

Right click (project) --> properties --> Java Build Path --> Libraries --> Add external Jars ... if you want to add a jar archive to the build. And, at the same submenu, add class folder, if you want to add a directory of class files to the build.

Henry


TBH I'm following blindly. I think what I'll do is have another go hopefully this week, but will go through it with you folks step by step so I know what it is I'm doing and maybe track down what I did wrong last time.

thanks
 
Fergus Flanagan
Ranch Hand
Posts: 43
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay got it sorted beginning to understand how Eclipse organises it's classes and libraries.

I hadn't linked my linked my project with the projects I'd built (for the TIJ code) using the above very helpful link.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!