Java Language Support


Basic support for the Java programming language.

(29) Review
Visual Studio
2015, 2013, 2012, 2010
Download (89,816)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (29)
Q and A (38)
Sign in to write a review
Sort by:

by itChipmunk | December 28 2015

HI. How can I uninstall this plug-in ??

by VasuNama | November 03 2015

Can some kind soul show me how to compile and debug hellworld java program on Visual studio 2012/2013.

Please help. I am not able to compile or debug

by RadCraftplay | October 10 2015

While creating solution I have an error:
This is content of last error logged in ActivityLog.xml. I've sent it to pastebin due characters limit.

by Tavi Lacatus | October 09 2015

by atom's | September 19 2015

Hi Guys! PLEASE HELP ME! Then I compilation my program appears error:
"Ошибка 1 error: illegal character: \187 c:\users\никита\documents\visual studio 2013\Projects\adc\adc\src\ 1 2 adc"
What is it?

by stakemura | May 06 2015

I always got an error:
C:\Program Files\Java\jdk1.8.0_45\bin\javac.exe -verbose -g -d obj/Debug/ -Xlint -deprecation src/main/java/pkg/
C:\Users\xxxx\Documents\Visual Studio 20XX\Projects\ConsoleApplication\packages\Tvl.Java.1.2.0\build\Tvl.Jvm.Common.targets(3018,5): error MSB3030: Could not copy the file "obj\Debug\ConsoleApplication.jar" because it was not found.
Done building project "ConsoleApplication.javaproj" -- FAILED.

Development Environment:
Visual Studio 2013/2015 ultimate
JDK 1.7/1.8 32/64bit
default console project which created by wizard

Sam Harwell May 06 2015
| Edit |

Hi stakemura,

Can you post this issue on the issue tracker?

I don't normally get notified of comments or replies posted here.

by Tobias Valinski | February 25 2015

Actually I love the idea to be able to write Java in VS. The only thing that is really missing is Intellisense implementation.

I just inspected the repository and there seem quite a lot lines that relate to Intellisense. Unfortunately I'm somehow not able to get the extension working from your source code (some ccrewrite errors), so I'll just ask:

Are there plans for implementing Intellisense?

Sam Harwell March 12 2015
| Edit |

Hi Tobias,

Can you post this issue on the issue tracker?

I don't normally get notified of comments or replies posted here.

by Tiago Cajahyba | February 13 2015

It's not perfect but congrats, it is very useful! Have you thought about make it opensource? ;)

Sam Harwell February 20 2015
| Edit |

Eventually it will have its own home, but for now it's here:

by marceroca | February 02 2015

Funciona perfectamente, muchas gracias.

by Scuba Kay | December 19 2014

This doesn't support java files in non-java project.

by ptschnack | December 11 2014

I've installed this on VS 2010 Pro and VS 2012 Premium on Win7 x64. Downloaded presumably the latest extension vsix, but the version reported in VS Help/About is 1.0, not 1.1.

I don't see any background highlighting at breakpoints as described although the breakpoint line indicator seems to work correctly.

Project configuration > Application > Startup object apparently can't be set. The dropdown contains only (Not Set) and can't be edited.

I can't access a class in a library project from the main function in an app project. App and library classes are in same package and build correctly copies the library jar to the app's Debug folder. The debugger starts the app, but attempting to use the class in the library thows NoClassDefFoundError. Is the library class not found because the manifest in its jar file contains only version information? If so, how do I modify the manifests in this environment?

The last problem is surely my inexperience with Java, but it would be nice to have Documentation (or alternately a downloadable example project) that shows how to tie together code in multiple projects in this environment.

All that said, thanks for a pretty cool extension.

by levent777 | November 25 2014


by apk-dev | November 13 2014

Okay, so maybe it lacks some features and crashes every once in a while. So what?

10/10 Still better than Eclipse

by WisdomGuidedByExperience | November 02 2014

2014-11-02 Fails in Visual Studio 2013 Premium, Update 4, with the following error when I try to Start (in either Debug or Release, doesn't matter which one):

"This preview version of the Java debugger only supports starting execution in a named class; the class name may be configured in the project properties of the Debug tab"

1. There is no Debug "tab" when I bring up (F4) the project properties.
2. There is no Error in the Output window after a build

This extension is a noble idea that just doesn't work.

by Ankur P | October 28 2014

Unable to install in my Visual Studio with following details.
Microsoft Visual Studio Express 2012 for Windows Desktop
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.50938
Installed Version: Desktop Express
Team Explorer for Visual Studio 2012 05695-004-0030004-02515
Microsoft Team Explorer for Visual Studio 2012
Visual Basic 2012 05695-004-0030004-02515
Microsoft Visual Basic 2012
Visual C# 2012 05695-004-0030004-02515
Microsoft Visual C# 2012
Visual C++ 2012 05695-004-0030004-02515
Microsoft Visual C++ 2012
NuGet Package Manager 2.6.40627.9000
NuGet Package Manager in Visual Studio. For more information about
SQL Server Data Tools 11.1.20828.01
upon OS Windows 7 (Prof) x64

Sam Harwell October 30 2014
| Edit |

Unfortunately (at least for potential users of this extension), Microsoft does not allow third parties to create extensions which can be installed in the Express editions of Visual Studio. Please consider removing this vote because there really is no way for me to address this concern.

Thank you,
Sam Harwell

by Kamran Shahid | October 01 2014

I do promote this extension. VS IDE's are awesome compared to netbean/eclipse. Love to see VS IDE to do some changes and compilation for some existing historical java project.

by vsuser69 | August 21 2014

Spot on! Instantly provides syntax highlighting for Java. Took a little tweaking to get to my tastes. Would it be possible to import settings from C++ (or other text editor) that is already set up? Such as tab settings etc.?

Personally, I use this extension for editing rather than compile/debug so I'd be more interested in code completion, code auto-formatting, etc. being implemented to bring the features in line with the C++ editor.

Great extension :)

by JimmyJimm | July 10 2014

I am receiving such info any idea?:

Microsoft Visual Studio
This preview version of the Java debugger only supports starting execution in a named class; the class name may be configured in the project properties on the Debug tab.

by huyuguang | July 05 2014

I always got an error:
C:\Program Files (x86)\Java\jdk1.8.0_05\bin\javac.exe -verbose -g -d obj/Debug/ -Xlint -deprecation src/main/java/pkg/
i:\testprj\ConsoleApplication7\packages\Tvl.Java.1.0.0-alpha001\build\Tvl.Jvm.Common.targets(3018,5): error MSB3030: Could not copy the file "obj\Debug\ConsoleApplication7.jar" because it was not found.
Done building project "ConsoleApplication7.javaproj" -- FAILED.

My Env.:
visual studio 2013 ultimate
jdk 1.8
default project which created by wizard

Any hint?

by Dennis Kaspar | June 06 2014

After some testing and fixing some problems i got it work - Debugger works fine, highlight is basically implemented.
Anyways I'm missing the Codecompletion - If that would be integrated it will be perfect for me

RUnning VS2013 Professional on Win 8.1 Pro x64
JDK 7 (u60) x86/x64 installed

1 - 20 of 29 Items   
Sign in to start a discussion

  • Got Error
    1 Posts | Last post January 26, 2016
    • I got this error when i open .java file,
      Microsoft.VisualStudio.ExtensibilityHosting.InvalidMEFCacheException: The Visual Studio component cache is out of date. Please restart Visual Studio. The Visual Studio component cache is out of date. Please restart Visual Studio.
   at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.<LoadAssembly>b__12_0(AssemblyName assemblyNameParam)
   at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.SafeGetOrAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 valueFactory)
   at Microsoft.VisualStudio.ExtensibilityHosting.FaultCatchingAssemblyLoader.LoadAssembly(AssemblyName assemblyName)
   at Microsoft.VisualStudio.Composition.Reflection.ResolverExtensions.GetManifest(Resolver resolver, AssemblyName assemblyName)
   at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType()
   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)
   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import)
   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.SatisfyImports()
   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.SatisfyImmediateImports()
   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)&#x000
  • Cannot reference a jar file
    1 Posts | Last post January 02, 2016
    • i have a java jar file that i want to reference in my c# project. please how do i go about it. Thanks in advance
  • Java Language Support problem in VS 2015
    3 Posts | Last post November 23, 2015
    • I have to restart Visual Studio 2015 to see in the cmd every change that I make in my Java Project code. Is this normal?
    • Thanks. Good info.
    • Sorry, I replied to the wrong post.
  • compilation issues
    5 Posts | Last post November 23, 2015
    • when I go to run the debugger I get "this preview version of the java debugger only supports starting execution in a named class"
      If I try to build the solution I get "The target "build" does not exist in this project"
      What can I do? If the product cannot compile, build, run the debugger, etc. what does it do?
    • I had this same problem but I figured it out. 
      Do what it says, go into the Debug tab and then go down and click "'PROJECT_NAME_HERE' Properties" 
      Then click the "Debug" tab on the side and then you will see "Start Class within project:" radio button. Make sure it is clicked and then in the text field along side it type in the class name that has you main method in it. 
      **Remember, if your main method is within a package you must type the package name then forward slash ("/") and then your class name (with the main method).** 
      For example: if you start a new console application, you should get a basic hello world console application. Since the basic console hello world application has the main method class in a package (called "pkg"), you have to put in the "Start Class within project" field: "pkg/Program"
    • thanx a lot nerdyguy64
    • Thanx Nerdyguy64. Workt for me too.
    • Thanks
  • I see the exception message
    1 Posts | Last post October 02, 2015
    • I have Windows 10 and Visual Studio 2015 When you run the java file I see the exception message. Log file attached. Connecting with other Intellisense and code analyzers. Do not see the members of the class, but the assembly is doing fine. Debugging works.
  • Complile Fail
    1 Posts | Last post September 02, 2015
    • I always got an error:
      Could not copy file:“obj\Release\ConsoleApplication1.jar”,the file not found.
      Development Environment:
      Win7 64 ultimate
      Visual Studio 2013/2015 ultimate
      jdk1.7.0_51  64bit
      default console project which created by wizard
  • 求助!!!
    1 Posts | Last post August 23, 2015
    • 请问下载这个就可以用VS2015编译和调试JAVA了吗?如果不是,请问要如何在VS2015中使用JAVA这个语言呢?
  • Can't install Java Language Support in Visual Studio 2015
    1 Posts | Last post August 10, 2015
    • I am using Windows 10 Pro, with Visual Studio 2015 installed. But I can't install Java Language Support by clicking the iron of Java Language Support program. 
      Can you guide me?
      Thank you.
  • Starting my very first Java project
    1 Posts | Last post June 18, 2015
    • Hello, I installed the plugin correctly, and created a new project which is a Console Application project.
      I added the basic "Program" class in the debug section and the debugger launches, but the it displays this very quickly (I had to reflex printscreen it) :
      I have absolutely no idea what this means.
      I have Windows 7 professionnal 64 bit.
      Thank you for reading this :)
  • How do I get started using it?
    2 Posts | Last post May 31, 2015
    • What sort of project do I open in VS?
    • What do you mean? Your question is very general so answering it is very hard. You can open many different types of projects in Visual Studios. Example: C++, Java, Python, x86 Assembly, etc. 
      Check the requirements on the visual studios website for specific file extensions. 
      I am guessing you are talking about java. If so, it should be the same type of project files as a C++ or any other coding project, except for the fact that it contains '.class' and '.java' files in it. 
      ***I think maybe I misunderstood your question. You can start a new application in the File tab. I would select create an empty project (in the java section) as this will allow you best flexibility. But I don't think you would be wrong choosing "console application" as everything is done in the console with java anyways (i.e. you can do a system.out.println very easily). Or for that matter, it can all be done in the console.
      My apologizes if I misunderstood your question, but your question was very non-descriptive. 
1 - 10 of 38 Items