Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java install (64-bit Vista)

 
Tony Lavalle
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two problems, first one i try to install java on my vista ultimate 64bit, machine but cannot figure out how come i cannot get java -version to run.

second is for oracle i installed oracle on same machine i get get this error when i try to run sql builder:
Error while registering Oracle JDBC Diagnosability MBean.

I know the oracle is for database, but i wanted to try here.

thanks for any help i get.


Edit by mw: Added "(64-bit Vista)" to subject line.
[ February 08, 2008: Message edited by: marc weber ]
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tony Lavalle:
I have two problems, first one i try to install java on my vista ultimate 64bit, machine but cannot figure out how come i cannot get java -version to run...

Hmmm... I thought this was a PATH issue, but I checked the installation instructions for Windows 64-bit which say, "This procedure installs the JDK, but not the Java Plugin, Java Web Start or public Java Runtime Environment (which are not yet available for 64-bit Windows)."

I don't know what this means. Does Java not yet run on 64-bit Windows machines?

Until someone can clarify, I suggest making sure you've updated your PATH variable. See step 4 of the 32-bit installation instructions, and let us know how it goes.
 
Tony Lavalle
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I gues i had the path wrong not sure how.

I used the system variable JAVA_HOME

and used the C:\Program Files (x86)\Java\jdk1.6.0_04\bin\ as my info for the variable

then int he path i used, now this could be wrong %JAVA_HOME%

but now i need to get sql builder to work

Thanks for the quick idea.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tony Lavalle:
...now i need to get sql builder to work...

For that, I suggest starting a new topic in our JDBC forum.
 
Tony Lavalle
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
one more question on install and configure of java for vista. What would be the most generic classpath setup for me.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tony Lavalle:
one more question on install and configure of java for vista. What would be the most generic classpath setup for me.

The most "generic" approach is to not set any system CLASSPATH at all. If no CLASSPATH is specified, then Java will look in the current directory by default, and that should be sufficient. (If you do set a system CLASSPATH, make sure it includes a dot (.) to represent the current directory.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic