Java Language Support


Basic support for the Java programming language.

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

by rdrher346 | August 31 2016


Please see:

for error.



by 我好看 | June 22 2016

by | June 06 2016

by Zeeshan Asghar | March 13 2016

didn't work. Extension crashed

by DanJ210 | February 27 2016

If you guys and girls view this one single picture:!441404&authkey=!AJwXsTCiRcH5VNs&v=3&ithint=photo%2cPNG

and this second picture if you still need:!441405&authkey=!AOrt7aqnp-8sc4Q&v=3&ithint=photo%2cPNG

I bet I would solve almost every problem on here. This is what you have to
do to get it working. I have not only gotten it to work but adding multiple
files and classes is now consistent and easy. Matching naming is
everything and you must put the name of the class which is the file in the
debug settings which you'll see in the picture.

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.

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

  • When I Run it, I get this error.
    1 Posts | Last post September 10, 2016
    • Error	1	"javac.exe" exited with code 1.	C:\Users\mrtab\OneDrive\Documents\Visual Studio 2013\Projects\ConsoleApplication1\packages\Tvl.Java.1.2.0\build\Tvl.Java.targets	239	6	ConsoleApplication1
      Can you help please?
  • Debugging problem when a jar file is added as a reference
    1 Posts | Last post August 31, 2016
    • I can't debug if a reference (a class library in the form of a jar file) is added.  Get ClassNotFoundException.  The debugger always uses -cp <projectname>.jar without adding the referenced jar file.  Can't find a way to overwrite this behavior.  Is there a way to get around this problem?
  • Debugging only flashes
    2 Posts | Last post August 15, 2016
    • I created a Java Console project and tried to execute it as-is. I only get a window that flashes very quickly, I don't know if the project worked or what. I don't see how to get the window to not close. I do not know what command is being issued by VS to run the program. The project properties has the command:
      "C:\Program Files (x86)\Java\jdk1.7.0_55\bin\java.exe" -agentpath:{AgentPath}
      but I do not know how to use that in a command window.
      I went to the project's bin\Debug folder and used the command:
      java -cp JavaConsole.jar pkg.Program
      "JavaConsole" is the project name. That executed the program. I hope that helps someone.
    • To run from within VS, you need to add the fully qualified Start class (e.g. pkg.Program in your example) under Project Properties
      Project-> JavaConsole properties -> Debug tab -> "Start class within project" = pkg.Program
  • IntelliSense not working after Update 2 of VS2015
    1 Posts | Last post May 19, 2016
    • I've updated VS2015 and IntelliSense as well as highlighting of Java code not working anymore. More than that - Java disappeard from Tools->Options->Text editor.
      What to do?
  • Manifest file
    1 Posts | Last post May 19, 2016
  • Compiling and Debugging with VS2013 Community
    2 Posts | Last post May 17, 2016
    • Hello,
      I really like the idea of having all my projecty in the same IDE and I love VS from my C/C++ projects.
      My problem is that, also by following the preposted steps, I am not able to
      compile "Hello, world" as simple comsole application.
      Unfortunately  VS doesn't give any useful error-message:
      ------ Build started: Project: JavaCmd, Configuration: Debug Any CPU ------
      Done building project "JavaCmd.javaproj" -- FAILED.
      ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
      Does anyone have a clue what I could do about this?
      Btw, honestly, I am new to the java-world but I have to use it now. However, a simple "Hello, world!" cannot be that hard :) 
      Thanks in advance!
    • Problem solved! JDK was missing. Thought that I had it installed already:)
  • Did any one tried Java support with VS2015 Update 1
    1 Posts | Last post April 06, 2016
    • I get this error. How will I pass out of this problem. Please reply
      Microsoft.VisualStudio.Composition.PartDiscoveryException: Unable to load assembly "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Microsoft.CodeAnalysis.VisualBasic.InteractiveEditorFeatures.dll" for
  • Visual Studio Blank Solution
    1 Posts | Last post April 02, 2016
    • When I create a Java Console project in a Visual Studio Blank Solution I get the error "An exception has been encountered. This may be caused by an extension.". There is an "Activity Log.xml" file but I don't know what to look at.
      If I create a Java Console project in a new solution (not in a Blank Solution) I get no error. I usually put small test projects in a solution but I can't do that using this extension. That is okay now that I know that I can't and it might help others to know it does not work.
  • Here is how you fix all your problems - Working
    2 Posts | Last post March 23, 2016
    • If you guys and girls view this one single picture:
      and this second picture if you still need:
      I bet I would solve almost every problem on here. This is what you have to 
      do to get it working. I have not only gotten it to work but adding multiple
      files and classes is now consistent and easy. Matching naming is 
      everything and you must put the name of the class which is the file in the 
      debug settings which you'll see in the picture.
    • Your picture is very useful. It knows compiles. But when I run I get this error:
      The operation could not be completed.
      What should I do to make it run? Please reply
  • Need project file to build and compile simple java program
    1 Posts | Last post March 22, 2016
    • Can you please give me a project file (.sln)  for
      /* */
      public class HelloWorld {
              public static void main(String[] args) {
                      System.out.println("Hello World!");
      that can be compiled and debugged
      on Visual studio Community 2015 Update 1 that has 
      Java Language Support extension
      I cannot make it work. Please post or email to
1 - 10 of 48 Items