Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 694
Shimmy Weitzhandler Avatar asked Jul 06 '10 02:07

Shimmy Weitzhandler


People also ask

Can you use Java in Visual Studio?

We have good news for you – With the support of platform-specific extensions from Visual Studio Code, we have now embedded a JRE into our Java extensions, which means you no longer need to worry about configuring a JDK to run the extensions and only need to configure the JDK for your project.

How do I import Java into Visual Studio?

If we need to open an existing project, Visual Studio Code will show a small popup at the bottom-right corner to import the folder as a Java project. If we missed it, we can open any Java source file to show it again.

Why is Java not working on Visual Studio Code?

Try to update Language Support for Java to the latest, and then try step 3 to rebuild the workspace. If it doesn't work, then try to install an older JDK version, set its installation folder to "java. home" user setting in . vscode/settings.

How do I run a Java code in Visual Studio?

Open your Java code file in Text Editor, then use shortcut Ctrl+Alt+N , or press F1 and then select/type Run Code , or right click the Text Editor and then click Run Code in context menu, the code will be compiled and run, and the output will be shown in the Output Window.


1 Answers

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.

like image 172
Chris Ostler Avatar answered Oct 03 '22 00:10

Chris Ostler