We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
The text was updated successfully, but these errors were encountered:
all seems well - not sure what you've expected by require 'java' in zsh - just use it like 🔢 a Ruby 🍻
require 'java'
Sorry, something went wrong.
@kares
yaa it worked.. I got little confused as I was following this link: http://rubylearning.com/satishtalim/jruby_tutorial.html
# javaSwingHello.rb require 'java' # Line 2 JFrame = javax.swing.JFrame JLabel = javax.swing.JLabel frame = JFrame.new jlabel = JLabel.new("Hello World") frame.add(jlabel) frame.setDefaultCloseOperation(JFrame::EXIT_ON_CLOSE) frame.pack frame.setVisible(true)
No branches or pull requests
The text was updated successfully, but these errors were encountered: