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\adc.java 1 2 adc" What is it?
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/Program.java 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
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:
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.
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
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.
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.
--------------------------- 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. --------------------------- OK ---------------------------
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/Program.java 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
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
Thank you for the package, it has proven to be an asset. We have no need to compile the code in VS 2013, since it would not make sense. I like the features that provide the ability to write java code into VS 2013.
Good work! please let me know if you are planning to adding additional features.
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"
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.
I always got an error:
Could not copy file:“obj\Release\ConsoleApplication1.jar”，the file not found.
Win7 64 ultimate
Visual Studio 2013/2015 ultimate
default console project which created by wizard
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 :)
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.
Yes you can make an android apps in java but you have to have a special environment to do so. A quick google search can yield you the answers.
Eclipse has a nice android environment. I haven't made any android apps so I am not sure if Visual Studios can do this or not. I would stick do an environment that is already setup for you, so do a google search and you will see.
I'm getting the following error when trying to build a Java project with VS2010. ""jar.exe" exited with code 1."
I have the lastest Java SDK installed.
I also had a previous error message on creating a new Java project which was fixed by installing NuGet.
Any ideas? Thanks!
This was fixed as described in the following issue, but is not yet part of a release:
Can you post future issues on the issue tracker? I don't normally get notified of comments or replies here.