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.