Shimmy Weitzhandler
Shimmy Weitzhandler

Reputation: 104751

Java in Visual Studio 2010?

Is there any way to manage/debug/compile Java projects in Visual Studio 2010?

Before you answer, please read this topic.

Upvotes: 32

Views: 67507

Answers (8)

Dominic.wig
Dominic.wig

Reputation: 314

A new plugin is currently being developed named IntegraStudio, aiming at full Java development under VS. It currently supports:

  • IntelliSense for Java (comparable to standard C++ IntelliSense in VS)
  • build with Ant or Maven
  • direct Ant / Maven project view in Solution Explorer
  • Java debugger with container visualization
  • support for VS browsing features (Class View, Code definition, etc.)
  • Class View works also for classes in JARs (including standard library)
  • browsing Maven repositories
  • JDK: 1.6 - 1.8

It uses standard JDK tools and targets the real Java platform (it is not a .NET platform solution, as VJ# was).

At the moment of writing this, the IntegraStudio plugin is beta.

It does not yet contain advanced Eclipse features, however many of them are in current roadmap (e.g. code refactorings and quick fixes).

You can find it on Visual Studio gallery:

http://visualstudiogallery.msdn.microsoft.com/588fb167-d18c-4e61-8aeb-30baeddb00da

The product official website is:

http://www.softerg.com/integra

Current docs (with large number of screenshots):

http://www.softerg.com/integra/docs/pages/is_intro.htm

Upvotes: 1

Raven
Raven

Reputation: 1331

C++ syntax highlighting looks pretty good for Java. Turn this on in Options->Text Editor->File Extension.

  • Extension: java
  • Editor: Microsoft Visual C++

Now reopen a .java file and see pretty colors.

Upvotes: 3

Pervez Alam
Pervez Alam

Reputation: 1256

I will advise to go for Eclipse, if you have to do at least 25% Java coding. Otherwise VS is good as well. But I like Eclipse for C++ as well as Java.

Upvotes: 1

jdannemann
jdannemann

Reputation: 61

No, although, I long for the day when VS might possibly support building Java applications. I don't think I have yet found an IDE as fully featured. Personally, if VS supported Java development, then I would trash my installation of Eclipse and Netbeans. ... so tired of wonky Java IDEs....

Upvotes: 6

Chris Ostler
Chris Ostler

Reputation: 687

I'm a little late to the party, but it looks like someone has started adding support. From the description, right now it only does syntax highlighting and basic navigation within a single file. However, in the Q&A section the author mentions plans to add compilation and debugging support later in the year.

Upvotes: 16

Dan
Dan

Reputation: 18754

Cyberduck is written in Java and developed in Visual Studio 2010, though it requires IKVM, an implementation of Java for Mono and the Microsoft .NET Framework. Here are the build instructions.

Upvotes: 5

Jonathan Allen
Jonathan Allen

Reputation: 70317

Sure. Visual Studio works with any language so long as someone takes the time to write the plug-ins for it. Heck, Mainsoft has already added JVM debugging support to Visual Studio. They just don't support the language.

The only problem is YOU are going to have to be the one who writes it.

I won't lie to you. It won't be easy and fan-boys on both sides will hate you for it. But if you pull it off I can at least offer you some money to write about how you did it.

Upvotes: 12

Vineet Reynolds
Vineet Reynolds

Reputation: 76719

The short answer - No.

The long answer - No, because the supposed intellisense support for Java that the blog entry referred to, in the question, relies on J# support. I believe it has been quite sometime since Microsoft has discontinued J# - VS2008 does not have it.

In the long run, you're better off learning how to use Eclipse/Netbeans/IntelliJ IDEA or any other IDE for the purpose of managing Java projects.

Upvotes: 13

Related Questions