Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
183 views
in Technique[技术] by (71.8m points)

Using Java with Microsoft Visual Studio 2012

I started as a C++ programmer, and Visual studio has worked splendedly for me. However, I recently have wanted to branch out to C# and Java. Visual studio supports C# and I now have some experience with it, but it does not support Java. Does anyone have any tips for me to allow Visual Studio to be used with Java? I was thinking of trying to use the add-in wizard of the Visual Studio SDK to create an extention for Java support, but before I started diving in to something possibly quite complicated, I was wondering if anyone here had attempted this before and might have some advice for me for approaching this problem. After much searching the internet, I found no Java support for visual studio, and the few workarounds I found were quite sub par.

To clarify:

I want to write an add in for Visual studio 2012 that will allow it to work with Java prgramming. I want when I create a project file to have the option of making a .java file, and when I compile, I want it to compile using the javac compiler (I have it downloaded already).

ADDITIONAL DETAILS:

I am aware that there are already Java IDEs out there, such as eclipse, I just wanted to know if it was possible to get it working with visual studio. I greatly enjoy visual studio and have been using it for some time now, and I would love to be able to program in all the languages I know using the same interface.

Yes, C# is a sort of beefed up Java, but there are some things I may need to do that need Java specifically, so I am going to need a way to write those. I can use eclipse or another IDE, but I would prefer visual studio if possible.

question from:https://stackoverflow.com/questions/15754713/using-java-with-microsoft-visual-studio-2012

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

There is a visual studio plugin to support the java language: http://visualstudiogallery.msdn.microsoft.com/bc561769-36ff-4a40-9504-e266e8706f93


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...