此内容已被标记为最终。 显示 3 条回复
Any of the following solutions should work. I personally go with (3) unless I have an explicit requirement to use 64-bit versions.
1. Copy MSVCR100.dll from your 64-bit Java install into the SQL Developer folder with contains sqldeveloper.conf .
2. Alter your $PATH variable: append $JAVA_HOME\bin to it. (Assuming a $JAVA_HOME variable has been set correctly)
3. Download the 32-bit SQL Developer version that already includes a 32-bit JDK. Runs fine on a 64-bit OS.
SQL Developer Team
Edited by: Gary Graham on Jan 29, 2013 11:26 AM
I would prefer a solution along the lines of 2., but despite %JAVA_HOME% being correctly set (to C:\Program Files\Java\jdk1.6.0_43) and having %JAVA_HOME%\bin on my %PATH%, the problem persist.
(I assume the use of $ in your post is a typo, since environment variables are like %PATH% on Windows, not $PATH. Or are you referring to SQL Developer specific variables?)
I assume the use of $ in your post is a typoYes, just Linux vs Windows forgetfulness on my part.
despite %JAVA_HOME% being correctly set (to C:\Program Files\Java\jdk1.6.0_43) and having %JAVA_HOME%\bin on my %PATH%But I don't think msvcr100.dll ships with Java 6 (in the jdk1.6.0_45\bin directory). It comes with Java 7, since that's where you actually would need it.
To test this, I intentionally disabled the msvcr100.dll in my 64-bit SQL Developer installation, as well as in the Windows\system32 directory. Next I opened a command window and set the Path variable to contain only
Path=C:\Windows;C:\Windows\system32Running SQL Developer with jdk1.6.0_45 from the same command window worked fine, but switching to jdk1.7.0_21 in the sqldeveloper.conf file required that I change the path to
Path=C:\Windows;C:\Windows\system32;C:\Program Files\Java\jdk1.7.0_21\binAnd I hope to have avoided any more typos in this post...