• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does Windows Vista "Play Nice" with Java?

 
Robin Lane
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)?
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rusty Shackleford
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Mark Vedder
Ranch Hand
Posts: 624
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it "Play Nice" with Java.
 
Amaru Shakur
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
idk but i know drJava does and anyone can install it. go to drjava.com its very good if your learning.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64724
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Amaru Shakur
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
me too have no problem so far developing in java/J2EE with Vista.
 
Amaru Shakur
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://en.wikipedia.org/wiki/Robin_Lane
 
Rob Spoor
Sheriff
Pie
Posts: 20514
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your point with the link?
 
Ravi Gupta
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Amaru Shakur
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rob Prime:
What's your point with the link?


http://www.javaranch.com/name.jsp
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic