24 Oct 2012 12:58 PM #1
Unanswered: JSBuilder Issues
Not sure if this is the correct place to post this question, if not, sorry, point me in the correct direction.
I have downloaded the SDK and JSBuilder seperate as well and when I run the java JSBuilder2.jar I get a "could not find the main class: JSBuilder2.jar" error. I have tried on windows, mac and unix with the same error on all 3. I am probably doing something wrong but I am not sure what that is.
Does anyone have experience with this error?
When I install the SDK and try to run the JSBuilder it wants me to install the jsdb components to run. I have not installed jsdb yet. I was hoping to not have to install it if possible.
27 Oct 2012 1:04 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
jsbuilder shouldn't be used for Ext JS 4... if you are using 4.1.1a, 4.1.2a or 4.1.3 then you should use Sencha Cmd otherwise you can use the SDK ToolsMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
31 Oct 2012 9:05 AM #3
ok, I was trying to use the jsbuilder from the SDK. I thought CMD was only for compiling for mobile, etc. I will get that and give it a try.
31 Oct 2012 11:44 AM #4
Until Cmd is out of beta and working much better than it does now, Sencha should continue to support jsbuilder. There is no reason not to use builder with 4, and a lot of reasons not to use cmd in a production environment.
Mike, if it helps, this is the command line I use to run jsbuilder2 from linux:
java -jar builder/JSBuilder2.jar --projectFile ./myproject.jsb2 --homeDir .
java -jar %drivep%\builder\JSBuilder2.jar --projectFile %drivep%\myproject.jsb2 --homeDir %drivep%