monkeybars 1.0.5 jar

  5 posts   Feedicon  
Replies: 4 - Last Post: August 18, 2010 12:54
by: keleon
showing 1 - 5 of 5
 
Posted: July 05, 2010 03:11 by sigman
I noticed that under skeleton/lib/java the monkeybars' jar file is still v1.0.4, is this ok?
I'm experiencing "NameError - cannot load Java class xxx.FormFrame" on a very basic application.

- os: ubuntu
- jruby 1.5.1
- monkeybars 1.0.5
- netbeans 6.9

TIA.
 
Posted: July 31, 2010 13:26 by kredaxx
I second the question. Is it intended? If not, how to obtain or build a more recent jar?
 
Posted: August 18, 2010 10:03 by keleon
I run into the same problem ("NameError - cannot load Java class greeter.Greeter") when I start with "jruby -S src/main.rb". It's the simple greeter app following the tutorial.
Trying to start automated with netbeans leads to another problem:
no such file to load -- greeter_controller (LoadError)

The netbeans main file for the project ist the rawr main file. But compiling doesn't work either.

EDIT: I solved the second problem with the "no such file to load -- greeter_controller" by adding
# Files to be added only when running from the file system go here
add_to_classpath '../src/greeter'
in manifest.rb.

Now I get the same error as when running without rawr
NameError - cannot load Java class greeter.Greeter


- os: windows xp
- jruby 1.5.1
- monkeybars 1.0.5
- netbeans 6.7

The ready to run examples I downloaded (FlickrBrowser and HelloMonkeybars) work fine.
 
Posted: August 18, 2010 12:45 by keleon
WORKS!
I compiled the java form (created with netbeans) by myself with
javac src\greeter\Greeter.java
Then I moved the java classes into "build\classes\greeter". Now I got my Tutorial app running.

BUT I thougt that monkeybars does this for me? Am I doing something wrong?
 
Posted: August 18, 2010 12:54 by keleon
OK now netbeans compiles everthing for me... maybe some config glitchy.
Replies: 4 - Last Post: August 18, 2010 12:54
by: keleon
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2014, Oracle Corporation and/or its affiliates
(revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close