简体   繁体   中英

ORACLE SQL DEVELOPER,Asking for JDK 7 and NO ADMIN rights

I am trying to use Oracle SQL Developr.

When I try to open it, it asks for the jdk path . Whereas I have only a JRE installed. 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. Is there any alternative to do that.

I have searched for around 3 hours on Google. 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? . 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. IME, it's not worth struggling with that.

I'd recommend using the standalone version instead - it comes with its own JDK, all you need to do is unzip the archive.

UPDATE

Apparently, there's no standalone version of the current SQL Developer 4 for 32bit Windows. But you can use the 3.2.2 release instead.

Copied from this link just for getting it straight to the point TRIED AND TESTED SOLUTION-With 100 upvotes

As I have tried it and it really works.Posting the solution here.

JDK is not available as a portable zip unfortunately. However, you can:

  • Create working JDK directory ( C:\\JDK in this case)
  • Download latest version of JDK from oracle (for example jdk-7u7-windows-i586.exe )
  • Download and install 7-zip (or download 7-zip portable version if you are not administrator)
  • With 7-zip extract all the files from jdk-[6-7]u?-windows-i586.exe in directory C:\\JDK
  • In command shell (cmd.exe) do the following:

    --> change directory to directory C:\\JDK\\.rsrc\\JAVA_CAB10

    --> execute command: extrac32 111

  • Unpack C:\\JDK\\.rsrc\\JAVA_CAB10\\tools.zip with 7-zip

  • In command shell (cmd.exe) do the following:

    --> change directory to 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)

  • 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.

Thats all. After this you'll be able at least to use javac.exe

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM