Question

Microsoft's Visual Studio for Java development

Asked by: rstaveley

This probably seems like a preposterous question, but I was wondering if anyone here has experience of Microsoft's Visual Studio for Java development. I know it supports J#, but j# isn't something that's part of my world and Java is.

I'm mostly a C++ developer, but lend my hand to a bit of Java. My Java development environment consists of my text editor and build.xml for ant. My C++ development environment consists of my text editor and Makefile for make. I'm at long last warming to the idea of using an IDE and Microsoft's Visual Studio is very good and paid for. It makes sense for C++. I was wondering if it would have any value for Java. I'm not keep on having multiple IDEs, if I can help it.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2007-02-21 at 02:23:07ID22403032
Tags

visual

,

studio

,

java

Topics

Java Editors & IDEs

,

Microsoft Visual J#.Net

,

Java Programming Language

Participating Experts
3
Points
250
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Write build.xml's for Ant
    Hello all, I have a directory structure like so: dir 'a' at the top level in a, we have dirs b, c, d, and e dir b just has some sql scripts, no java code. dirs c & d each have a subdir called fred, and then inside fred another subdir called c1 or d1, depending if it'...
  2. Ant, build.xml
    I'm new to Ant, and need to make a tweak to an existing build.xml; but the existing file doesn't include anything like what I need to do so short of RTFM'ing I don't have much idea where to start. I want to, quite simply, create a file by redirecting the output of a command ...
  3. java + makefile
    Hi, I'm on windows XP, I have GNU make v3.77 installed. I have a java makefile, wondering how exactly I use it now to 'build' the java files. The contents of the make file is: # Makefile # # To port to your machine: # set FLAGS for your Java compiler # set JC to your J...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: CEHJPosted on 2007-02-21 at 02:25:13ID: 18577266

I doubt it - J# as you know is a dinosaur. You would probably end up using VS as a bloated editor

If you have plenty of RAM, use Eclipse

 

by: gibu_georgePosted on 2007-02-21 at 03:54:36ID: 18577615

I dont think J# has any thing do with java Use Eclipse or Netbeans

 

by: mayankeaglePosted on 2007-02-21 at 08:09:49ID: 18579465

Correct. Use Eclipse - www.eclipse.org (www.eclipseplugincentral.com for additional plug-ins) or Netbeans - www.netbeans.org. You will also find many open source IDEs here:

http://www.java-source.net/open-source/ides (M$ Visual Studio will work only on Windows but most of these IDEs will work on all platforms that support the Java version).

I am sure there are going to be many posts here talking about a 100 more IDEs, so before they do that let me show you some IDE wars which we have had in the past already (they also contain links to other such questions discussing pros and cons of all IDEs), but the bottom line is that Eclipse is the most popular and widely used one:

http://www.experts-exchange.com/Programming/Languages/Java/Q_21772479.html

 

by: mayankeaglePosted on 2007-02-21 at 08:10:47ID: 18579475

>> Visual Studio is very good and paid for

You don't need to even pay for most of the IDEs you will find above.

 

by: mayankeaglePosted on 2007-02-21 at 08:51:20ID: 18579891

But if you're new to Java, the first recommendation would be to learn it without using an IDE - just start with the tutorial http://java.sun.com/docs/books/tutorial/

 

by: rstaveleyPosted on 2007-02-21 at 10:00:54ID: 18580472

I'm not a Java newbie. I've done quite a lot of Java development over the years (text editor + ant), but not as much as C++.

My reason for asking about Visual Studio is:

(1) I've already paid M$ handsomely for it
(2) I'm already investing some time familiarising myself with it for the sake of C++, which is my main language.

Typically I develop C++ and Java apps on my Windows system and port them onto UN*X, which is where most of them get deployed.

If Visual Studio is good enough to manage .java files and MS's J# "Intellisense" works for proper Java (this is probably the deal maker/breaker) and I can build using ant from within it (I'm pretty sure I can), it is probably good enough environment  for me. Microsoft does a lot of things badly, but it does GUIs very well. I just wonder if its J# GUI is usable for Java development or if I'm on a hiding to nothing.

On a side note... I've just lit up Eclipse and found it painfully slow start-up on a 2GB 2.66GHz dual core PC (i.e. supposedly a quick PC). I know I haven't done justice to it, but I'm really not keen on having multiple IDEs, if I can help it.

 

by: rstaveleyPosted on 2007-02-21 at 11:23:39ID: 18581225

I tried importing a relatively complicated Java application (> 100 .java modules and lots of 3rd party .jars) into VS as a J# project and none of you will be surprised to hear that trying to get it to build was frustrating. Intellisense was pretty good, but I could see that I couldn't get away from the fact that what I wanted wasn't .NET, and I could forget about debugging... so VS really is a non-starter.

On a brighter note, I created a new project in Eclipse based on my ant build.xml and... certainly the import took a long time, but it looks like it might be usable for my purposes. I was disappointed to see that it didn't read source version from the build file (but the right place to fix that was quick to find in the menus) and there were a load of classpath-related errors which don't appear when you build using ant without the IDE (which I therefore expect are wrong). It is a poor GUI experience compared with VS, but it is usable.

 

by: CEHJPosted on 2007-02-21 at 11:43:41ID: 18581407

:-)

I'm about to ditch Eclipse until i'm running with at least 1Gb RAM

 

by: mayankeaglePosted on 2007-02-21 at 11:48:44ID: 18581438

>> I've just lit up Eclipse and found it painfully slow start-up on a 2GB 2.66GHz dual core PC

Which version?

>> none of you will be surprised to hear that trying to get it to build was frustrating

It will be because J# libraries are different from Java and J# itself is different from Java (though there are similarities).

>> It is a poor GUI experience compared with VS, but it is usable

Trust me, Eclipse has many more features than VS has :) I've used both of them for several years and learnt how to respect Eclipse more than other IDEs (be it any language). You can run multiple applications using Eclipse for example and you get their outputs in multiple consoles (in VS, you can run only one solution at a time).  You can even run one in 'Run' mode and one in 'Debug' mode. I prefer Eclipse 3.1.2. It also builds all files the moment you save them and the amount of time it takes to build a project with 1000 files will be much lesser than what VS .NET 2005 takes to build 1000 files. Plus it also takes lesser time to load. There are several other easier code-generation tools which I have found in Eclipse to be better than VS - e.g., while adding a new class you can specify in the Wizard as to what the base-class and implemented interfaces will be, and you get all of them with skeletal code. You can right-click on a data member of a class and say Generate Getter and setter, and you can generate get/ set methods for all members - or select which ones you want, which ones you don't want through check-boxes. If you want to use a class, all you have to do is type its name and select it from the intellisense - its package is automatically imported. In VS, if I have not added a reference to the DLL, it won't even show up in the intellisense - forget about automatic import or 'using' in the source-code. Renaming packages and classes is too easy by the Refactor tool and it will allow you to rename all folders/ all code-references to it as well (in VS, if you rename a project you will land into troubles renaming folder names of the project, source bindings with VSS, etc) Maintaining build configurations is also more comprehensive.

It has a much bigger community of users and contributors due to the plugin architecture, so people keep developing plugins which are available at www.eclipseplugincentral.com - you have plug-ins for virtually everything - C, C++, web servers, web development, different source-control and configuration-management tools, opening word docs, checking e-mails - in short, you don't need any other software if you have Eclipse ;-)

What's more? For all of this, its free and open-source.

 

by: mayankeaglePosted on 2007-02-21 at 11:50:30ID: 18581456

>> I'm about to ditch Eclipse until i'm running with at least 1Gb RAM

I use Eclipse 3.1.2 with 512 GB and never faced any issues - works like a charm. Netbeans gets angry, though, if I leave it open and unattended for a long time :)

 

by: CEHJPosted on 2007-02-21 at 11:55:40ID: 18581500

>>I use Eclipse 3.1.2 with 512 GB

Well that's a fair amount of memory ;-)

 

by: mayankeaglePosted on 2007-02-21 at 12:22:14ID: 18581766

Yes I meant you don't necessarily need 1 GB for it

 

by: CEHJPosted on 2007-02-21 at 12:57:19ID: 18582080

You meant 512Mb ;-)

What OS, processor are you using?

 

by: rstaveleyPosted on 2007-02-21 at 12:58:48ID: 18582091

Thanks for the comments, mayankeagle. You sold it to me, if such a thing is possible with free software :-)

My experiences today are with Eclipse 3.2.2 with my opulent 2GB of RAM. I'll spend some more time getting a feel for it. I must say that I found the handling of my complicated build.xml encouraging.

 

by: CEHJPosted on 2007-02-21 at 13:07:49ID: 18582169

I keep forgetting what the free Java IDE is that's *not* written in Java but runs native - can either of you remind me?

 

by: mayankeaglePosted on 2007-02-21 at 17:25:12ID: 18583690

Our good friend Javatm said this:

Gel is certainly not made in Java, I think it was made from Visual.NET :
http://www.gexperts.com/

JCreator is also not made in Java, It was built 1st in C++ :
http://www.jcreator.com/

(In this page: http://www.experts-exchange.com/Programming/Languages/Java/Q_20934698.html?qid=20934698 - this Q also reachable from the link which I posted above - its got another link there ;-) the advantage of book-marking on EE ;-))

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...