views:

143

answers:

4

I've .NET framework 3.5 installed in my laptop. Just .NET alone, no Visual Studio. How can I run Java, Python, Ruby and Perl programs from the console?

Do I need to install something else also, for running these language files?

In case there is a need for something extra to be installed and after i have all of them, what are the commands that I need to type in the console to run these programs?

+6  A: 

Do you want to run programs in these languages inside the .NET platform? You'd need IronPython or IronRuby (I don't think anything like IronPerl exists).

If you want to run "normal" Python/Ruby/Perl/Java programs, then yes, you'll need to install a Python interpreter, a Ruby interpreter, a Perl interpreter and a Java VM.

djc
+2  A: 

Perl is a bit of a problem, see this SO question. IronRuby and IronPython cover those two languages. For Java, I think you need Microsoft's J# (but I'm not entirely clear on the "visual vs not" situation for that product).

Alex Martelli
+1  A: 

None of those languages are supported natively with .NET. You can try IronPython or IronRuby for those languages, but to run Java or Perl I think you'll actually need to download and install a Java VM and a perl interpreter.

Peter Recore
+1  A: 

There's no practical common virtual machine or binary for the options you list. You will require a separate install for each of these (note that all are unrelated to .NET)

Brian Agnew