This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Does Windows Vista Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Does Windows Vista "Play Nice" with Java?" Watch "Does Windows Vista "Play Nice" with Java?" New topic
Author

Does Windows Vista "Play Nice" with Java?

Robin Lane
Ranch Hand

Joined: Apr 30, 2008
Posts: 76
I was writing some practice code in Notepad, then Notepad++, and later in NetBeans. These 'programs' came straight out of my textbook for my Java class (Java: How to Program, 6th ed., Deital & Deital). However, they wouldn't compile. I kept getting error messages, and I kept trying to debug. Every time I went looking for the offending code (and it wasn't a typo, of course) I could not identify what the error message was referring to. The next morning, however, my programs compiled without incident. The very same practice programs I had been getting error messages on the previous day -- and the code had not been changed, at all. It just suddenly compiled. I didn't have these issues until I had to buy a new computer, and I could only get one with Vista as the OS.

Is it possible Vista is causing some buggy Java performance (like compiling)?


Disclaimer: The author of this post makes no claims, implied or otherwise, as to her ability to understand anything but the simplest of answers. Further, the author of this post has no programming background whatsoever and has taken one Java Programming class which was 9 weeks long. She does want to learn, so please teach patiently.
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

I recently started developing on a Windows Vista machine. I have had no problems doing manual or IDE (Eclipse) compiles or runs.

If I were you, I would chalk it up to one of those 'Oh well, I am on Windows after all' moments unless it starts to happen again. At which case noting the errors may provide some help.


Steve
Rusty Shackleford
Ranch Hand

Joined: Jan 03, 2006
Posts: 490
Vista doesn't play nice with lots of things. If you could post the error messages that might help solve your problem.

This is probably obvious, so forgive me for asking: Is the message saying it doesn't know what javac is?


"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
Mark Vedder
Ranch Hand

Joined: Dec 17, 2003
Posts: 624

I've been developing on a Vista machine for 8 months now. I've had no issue at all, Java or otherwise. No issues with IntelliJ IDEA (my IDE of choice) which is written in and runs via Java.

So I don't think your issues are Vista related. Possibly a configuration issue related to a new PC. As Rusty said, if you can post specific error messages we might be able to help track down the culprit.
Robin Lane
Ranch Hand

Joined: Apr 30, 2008
Posts: 76
Originally posted by Rusty Shackleford:
This is probably obvious, so forgive me for asking: Is the message saying it doesn't know what javac is?


That is perfectly alright, Rusty. I do indicate that I am a 9-week class away from being a Complete Newbie to Java! <smiling> No, that one I took care of. They were compilation error messages supposedly indicating coding errors. You know, the compilation errors indicating line number, etc. I worked for hours (as in more than 2 hours) trying to debug, thinking I had made a typo when typing the programs up. We all do that, after all. (Reminder: These were relatively tiny programs from my textbook.) I only did it to make sure I had set everything up correctly. It's something I learned the hard way to do. Testing to make sure I set things up correctly, that is.

This made it unlikely, but not impossible (obviously), that there was anything wrong with the structure or logic. Add to this the fact that the programs compiled without error the very next day, and you have a mystery.

Steve, you are probably right. <laughing>
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
I think it "Play Nice" with Java.


Perform for today. Adapt for tomorrow.
Amaru Shakur
Ranch Hand

Joined: Jul 17, 2008
Posts: 50
idk but i know drJava does and anyone can install it. go to drjava.com its very good if your learning.


Even though im marked for death I will spark till i loose my breath
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

drjava.com is the web site of a coffee shop in Mobile, AL. I believe the correct site is drjava.org.
[ August 01, 2008: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Amaru Shakur
Ranch Hand

Joined: Jul 17, 2008
Posts: 50
i never had any machine issues running on 16 no matter what time it was bear... now the 32 is a different story... and just wait till they bring out the 64..

yes bear is right, im foolish though anyone who can drink 64 ozs of coffee deserves some kind of medal.

but from what i remember you dont even need the jdk or anything they put it all in jars and you just run the exe or dmg or if your on linux save the jar to your desktop and as long as your version came with java just right click and open with java and it should work.

when eclipse gets weird i see the DR!
*wow the grammer police is pretty legit on here! i like
Robin Lane
Ranch Hand

Joined: Apr 30, 2008
Posts: 76
Originally posted by Bear Bibeault:
drjava.com is the web site of a coffee shop in Mobile, AL. I believe the correct site is drjava.org.

[ August 01, 2008: Message edited by: Bear Bibeault ]


Sounds like my kind of place, Bear! (laughing hysterically)

yes bear is right, im foolish though anyone who can drink 64 ozs of coffee deserves some kind of medal.


Amaru, You Do. (hands over the 64oz. Coffee Drinking Gold Medal) And thanks for the advice. (warm smile)
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3833

me too have no problem so far developing in java/J2EE with Vista.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Amaru Shakur
Ranch Hand

Joined: Jul 17, 2008
Posts: 50
http://en.wikipedia.org/wiki/Robin_Lane
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

What's your point with the link?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Ravi Gupta
Ranch Hand

Joined: Jul 15, 2006
Posts: 38
i am developing core java code as well as j2ee code without any problem on vista 32 bit without any issues and without using any ide.


help your PC help you best
http://simplepccare.spaces.live.com
Amaru Shakur
Ranch Hand

Joined: Jul 17, 2008
Posts: 50
Originally posted by Rob Prime:
What's your point with the link?


http://www.javaranch.com/name.jsp
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Bear Bibeault:
drjava.com is the web site of a coffee shop in Mobile, AL. I believe the correct site is drjava.org.

Even though it's in Alabama, I would opt for the .com version on the basis of coffee, art, and free wi-fi.

The .org version is slow and freezes up.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
GeeCON Prague 2014
 
subject: Does Windows Vista "Play Nice" with Java?