Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Anyone use J# .Net?

I'm working on a small java project and am loathing the IDE's I've tried so far.  I'd really like to try J# dotnet so I can use the dotnet IDE, but I don't want to if the syntax isn't going to be compatible.

The download page for J#.Net makes it clear that it doesn't compile to run in a JVM.  I'd like to use J# just to write my code in a nice IDE, then once I'm finished compile the .java files in a real java compiler.  I think the time saved in writing the code in a nice environment will be worth it in the long run.

Has anyone out there tried this?

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/MSDN-FILES/027/001/973/msdncompositedoc.xml&frame=true

Steve H
Wednesday, December 18, 2002

This isn't a direct answer to your question but take a look at Gel at http://www.gexperts.com - you might like it.

John Topley
Thursday, December 19, 2002

You will run into problems if you write your Java App with J# and later try to run it on a "pure" Java (e.g. Sun's) VM. J# is not fully compatible to Sun's Java.

Why don't you just take one of the many "pure" Java IDEs?

Eclipse is a good one and free (http://www.eclipse.org)

IDEA is a commercial one that is very good although expensive (http://www.intellij.com/idea/)

Stefan Haubold
Thursday, December 19, 2002

J# is NOT java.  J# is a syntactically compatible .NET language with a compiler for the CLR.  That is to say that when you write code in J# you'll be using the Microsoft .NET libraries (System.*) and not the java API (java.*).  When you compile your code you will get Microsoft Intermediate Language code and not Java byte-code.  The compiled MSIL code will only run on Microsoft's Common Language Runtime (not java Virtual Machines).  So you could use J# for its text highlighting abilities (because J# is syntactically the same as java) but beyond that J# is completely outside of the Java world.

Jeff Plourde
Saturday, December 21, 2002

*  Recent Topics

*  Fog Creek Home