qw3 Posted January 25, 2014 Share Posted January 25, 2014 Can anyone help me out? Link to comment Share on other sites More sharing options...
Swizzbeat Posted January 25, 2014 Share Posted January 25, 2014 It would help if you posted what exactly your issue was :p 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. Link to comment Share on other sites More sharing options...
Cyro Posted January 25, 2014 Share Posted January 25, 2014 Can anyone help me out? 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 Link to comment Share on other sites More sharing options...
qw3 Posted January 25, 2014 Author Share Posted January 25, 2014 It would help if you posted what exactly your issue was 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 More sharing options...
Swizzbeat Posted January 25, 2014 Share Posted January 25, 2014 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 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 More sharing options...
qw3 Posted January 25, 2014 Author Share Posted January 25, 2014 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 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 More sharing options...
Swizzbeat Posted January 25, 2014 Share Posted January 25, 2014 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? Just use Eclipse to export the jar for now :p Link to comment Share on other sites More sharing options...
qw3 Posted January 25, 2014 Author Share Posted January 25, 2014 Just use Eclipse to export the jar for now Ah alright! Will do! Thanks for helping me out as much as you could! Link to comment Share on other sites More sharing options...
Cyro Posted January 25, 2014 Share Posted January 25, 2014 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 More sharing options...