8000 cannot find symbol · Issue #5 · rawr/rawr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cannot find symbol #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pronix opened this issue Dec 25, 2011 · 1 comment
Open

cannot find symbol #5

pronix opened this issue Dec 25, 2011 · 1 comment

Comments

@pronix
Copy link
pronix commented Dec 25, 2011

rake rawr:jar
mkdir -p package/classes/java
javac -target 1.6 -cp lib/java/jruby-complete.jar:src -sourcepath src -d package/classes/java src/org/rubyforge/rawr/Main.java
src/org/rubyforge/rawr/Main.java:20: cannot find symbol
symbol : method setArgv(java.lang.String[])
location: class org.jruby.RubyInstanceConfig
config.setArgv(args);
^
src/org/rubyforge/rawr/Main.java:21: initialize(java.util.List) in org.jruby.javasupport.JavaEmbedUtils cannot be applied to (java.util.ArrayList,org.jruby.RubyInstanceConfig)
Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(0), config);
^
src/org/rubyforge/rawr/Main.java:49: cannot find symbol
symbol : method evalScriptlet(java.lang.String)
location: class org.jruby.Ruby
runtime.evalScriptlet("require '" + mainRubyFile + "'");
^
3 errors
rake aborted!
Command failed with status (1): [javac -target 1.6 -cp lib/java/jruby-compl...]

Tasks: TOP => rawr:jar => package/jar/ttt.jar => package/classes/java/org/rubyforge/rawr/Main.class
(See full trace by running task with --trace)

@Neurogami
Copy link
Collaborator

What version of Java? What version of JRuby? What version of Rawr? What was the project code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0