[英]ORACLE SQL DEVELOPER,Asking for JDK 7 and NO ADMIN rights
I am trying to use Oracle SQL Developr. 我正在尝试使用Oracle SQL Developr。
When I try to open it, it asks for the jdk path
. 当我尝试打开它时,它会询问
jdk path
。 Whereas I have only a JRE
installed. 而我只安装了
JRE
。 I do not have admin privileges and I can not get it that. 我没有管理员权限,无法获得。
I have tried modifying the sqldeveloper\\bin\\sqldeveloper.CONF
file but it did not help. 我尝试修改
sqldeveloper\\bin\\sqldeveloper.CONF
文件,但没有帮助。 Is there any alternative to do that. 有没有其他选择可以做到这一点。
I have searched for around 3 hours on Google. 我在Google上搜索了大约3个小时 。 Nothing hits up straight.
没有什么可以直接解决的。 And if you are planning to call it duplicate.
如果您打算将其称为重复。 I have gone through the similar questions but dint worked out.
我经历了类似的问题,但努力了。 And installed as per the answer How to start Oracle SQL Developer 4 using 32 bit JDK on Win 64?
并按照答案进行安装如何在Win 64上使用32位JDK启动Oracle SQL Developer 4? .
。 But there also ERROR pops up when I start.
但是,当我启动时也会弹出错误。
I'm assuming you're using the SQL Developer that comes bundled with the Oracle database. 我假设您使用的是与Oracle数据库捆绑在一起的SQL Developer。 IME, it's not worth struggling with that.
IME,为此不值得挣扎。
I'd recommend using the standalone version instead - it comes with its own JDK, all you need to do is unzip the archive. 我建议改用独立版本 -它带有自己的JDK,您要做的就是解压缩存档。
UPDATE UPDATE
Apparently, there's no standalone version of the current SQL Developer 4 for 32bit Windows. 显然,当前没有用于32位Windows的SQL Developer 4的独立版本。 But you can use the 3.2.2 release instead.
但是您可以改用3.2.2版本 。
Copied from this link just for getting it straight to the point TRIED AND TESTED SOLUTION-With 100 upvotes 从此链接复制的目的只是为了使其直达“ 尝试和测试的解决方案”-100票赞成
As I have tried it and it really works.Posting the solution here. 正如我尝试过的那样,它确实有效。在此处发布解决方案。
JDK is not available as a portable zip unfortunately. 不幸的是,JDK无法作为便携式zip使用。 However, you can:
但是,您可以:
C:\\JDK
in this case) C:\\JDK
) jdk-7u7-windows-i586.exe
) jdk-7u7-windows-i586.exe
) jdk-[6-7]u?-windows-i586.exe
in directory C:\\JDK
jdk-[6-7]u?-windows-i586.exe
中提取目录C:\\JDK
所有文件 In command shell (cmd.exe) do the following: 在命令外壳程序(cmd.exe)中执行以下操作:
--> change directory to directory C:\\JDK\\.rsrc\\JAVA_CAB10
->将目录更改为目录
C:\\JDK\\.rsrc\\JAVA_CAB10
--> execute command: extrac32 111
->执行命令:
extrac32 111
Unpack C:\\JDK\\.rsrc\\JAVA_CAB10\\tools.zip
with 7-zip 使用7-zip解压缩
C:\\JDK\\.rsrc\\JAVA_CAB10\\tools.zip
In command shell (cmd.exe) do the following: 在命令外壳程序(cmd.exe)中执行以下操作:
--> change directory to C:\\JDK\\.rsrc\\JAVA_CAB10\\tools\\
->将目录更改为
C:\\JDK\\.rsrc\\JAVA_CAB10\\tools\\
--> execute command: ->执行命令:
for /r %x in (*.pack) do .\\bin\\unpack200 -r "%x" "%~dx%~px%~nx.jar"
(this will convert all pack files into jar) (这会将所有打包文件转换为jar)
Copy whole directory and all subdir of c:\\JDK\\.rsrc\\JAVA_CAB10\\tools
where you want your JDK to be and setup manually JAVA_HOME and PATH to point to your JDK dir and its BIN subdir. 复制整个目录和
c:\\JDK\\.rsrc\\JAVA_CAB10\\tools
所有子目录,并手动设置JAVA_HOME和PATH指向您的JDK目录及其BIN子目录。
Thats all. 就这样。 After this you'll be able at least to use javac.exe
之后,您至少可以使用javac.exe
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.