Jump to content

Help with getting Osbot to work for Eclipse


qw3

Recommended Posts

It would help if you posted what exactly your issue was tongue.png

 

I'm guessing you need help adding the jar as a reference library? You can do that by right clicking your package, selecting properties, Java Build Path, libraries tab, add external jar.

 

 

if you mean adding the jar file to your build path

1. right click on your Java project in the package explorer

2. navigate to Build path

3. Select Add External Archives.

4. select osbot jar and click open

 

Yeah, So I made a java project and added the newest version of the client to the external jar. But i need to figure out how to get eclipse to open up osbot so i can start writing my own script soon :)

Link to comment
Share on other sites

Yeah, So I made a java project and added the newest version of the client to the external jar. But i need to figure out how to get eclipse to open up osbot so i can start writing my own script soon smile.png

Just export your script as a jar file, and place it in your osbot script folder :) just like you would with any local script.

Link to comment
Share on other sites

if you mean adding the jar file to your build path

1. right click on your Java project in the package explorer

2. navigate to Build path

3. Select Add External Archives.

4. select osbot jar and click open

Followed what you said and got this error: http://prntscr.com/2mbkrr

Just export your script as a jar file, and place it in your osbot script folder smile.png just like you would with any local script.

 

Is that how you do it? Or is it easier to use eclipse?

Link to comment
Share on other sites

Followed what you said and got this error: http://prntscr.com/2mbkrr

 

Is that how you do it? Or is it easier to use eclipse?

you already added it that why you got that

 

i like running it through eclipse as i can see all the logs on the eclispe console 

which stays there even if osbot closes

also the errors and the lines are there simply click it and it navigates to the line which is causing the error 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...