• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help running Java as script (urgent)

 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having trouble getting Java to run as JavaScript. I set the script language to "Java," so I expect the class to compile when the page is loaded, but nothing is happening!
 
Bert Bates
author
Sheriff
Posts: 8900
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use ruby
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marc --

Duh! You've got an extra set of parentheses after "class HelloWorld" -- no wonder it's not working!
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
Marc --

Duh! You've got an extra set of parentheses after "class HelloWorld" -- no wonder it's not working!

Thanks, Ernest! It works great now!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic