Welcome to MSDN Blogs Sign in | Join | Help

Visual J# , What and How

 

Q. What is Visual J#?

Ans. Visual J# .NET is a powerful tool for Java-language developers who want to build applications and services on the Microsoft .NET Framework. Visual J# .NET targets the new .NET Framework version 2.0, is fully integrated with Visual Studio .NET, and provides added support for building Mobile Web applications.

 

Q. How to install Visual J#?

Ans. Visual J# can be installed while installing Visual Studio 2005  

 

Q. I don’t have Visual Studio; can I still use Visual J#?

Ans. Absolutely, there are two options.

       -  just install .NET Framework 2.0 redistributable and SDK and after that install J# Redist 2.0

       This will install J# compiler, .NET Framework runtime CLR.

 -  Or install Visual J# 2005 Express Edition  Its is a simple, lightweight, integrated development environment designed for beginning programmers and non-professional developers interested in building Windows Forms, class libraries, and console-based applications.

 

Q. Alright, I have J# installed on my machine, how do I write my first Visual J# code?

Ans. GoTo: Start-> Programs -> Microsoft.NET Framework SDK v2.0 -> Visual Studio 2005 command prompt.

 

Here’s your first piece of code [Helloworld.jsl]

 

class helloworld

{

     public static void main(String args[])

            {

                        System.out.println("Hello World");

            }

 }

 

Now we run Helloworld.jsl on the SDK command prompt.

 

D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0> vjc.exe Helloworld.jsl

D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0> Helloworld.exe

 

Output: Hello World

 

Q. Great, where do I get good resources for learning more about Visual J#?

Ans. You might want to take a look at following resources to learn about Visual J#

http://msdn.microsoft.com/vjsharp/downloads/codenotes/default.aspx

 

http://msdn.microsoft.com/vjsharp/using/academic/default.aspx

 

Book- Visual J#. NET by John Sharp, Andy Longshaw

 

http://msdn.microsoft.com/vjsharp for any Vjsharp related information.

 

Q. Now I am getting interested, are there any other samples that I can look at?

Ans. you can find couple of samples here.

 

Q. Cool… I have started playing around with J#, where do I ask my specific questions about J#?

Ans. Here’s the place, J# Forums. Ask your J# questions to the ever growing J# community.

Published Friday, November 11, 2005 1:42 PM by Varun Gupta

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Visual J# , What and How

Monday, February 06, 2006 4:43 AM by Varun Gupta
----Question----

Just wondering the version of J# that ships with VS.NET 2005 is equivalent to what version of the Java SDK (eg. 1.1,1.2,1.3,1.4,1.5) ?

thanks,
Stewart Whaley

---Answer------

Current level of support is as follows

JDK level 1.1.4 API functionality, JDK level 1.2 java.util package API functionality, and Java 2 JFC Swing specification

Thanks,
Varun

# re: Visual J# , What and How

Sunday, October 29, 2006 7:13 PM by George Birbilis

not full Java2 JFC Swing support though

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker