简体   繁体   English

SQLdeveloper无法启动

[英]SQLdeveloper doesn't start

When I try to run SQLdeveloper, appears window with text "Please specify the path to the Java JDK home (eg C:\\Program Files\\Java\\jdk):". 当我尝试运行SQLdeveloper时,出现带有文本“请指定Java JDK主页的路径(例如C:\\ Program Files \\ Java \\ jdk):”的窗口。 I enter my path, window appear again. 输入路径,窗口再次出现。 I enter my path again, and that's all. 我再次进入我的道路,仅此而已。 Nothing happens. 什么都没发生。 What I should do for SQLDeveloper start? 我应该为SQLDeveloper启动做什么?

  1. JAVA_HOME set to H:\\programs\\Java\\jdk1.8.0_11 . JAVA_HOME设置为H:\\ programs \\ Java \\ jdk1.8.0_11。
  2. File sqldeveloper.conf has text "SetJavaHome..." 文件sqldeveloper.conf的文本为“ SetJavaHome ...”
  3. C:\\Users\\username\\AppData\\Roaming\\sqldeveloper\\1.0.0.0.0\\product.conf has text "SetJavaHome..." too. C:\\ Users \\用户名\\ AppData \\ Roaming \\ sqldeveloper \\ 1.0.0.0.0 \\ product.conf也具有文本“ SetJavaHome ...”。

First you need to set java classpath in order to run sqldeveloper. 首先,您需要设置Java类路径才能运行sqldeveloper。 Steps To Set java ClassPath 1.Right click on mycoputer. 设置Java ClassPath的步骤 1.右键单击mycoputer。 2.Select Properties. 2.选择属性。 3.Left side of the my computer properties select Advanced System Settings. 3.在我的计算机属性的左侧,选择高级系统设置。 4.Select Environment Variables. 4.选择环境变量。 5.Select path in System variables. 5.在系统变量中选择路径。 6.Click edit, at the end of the text add ; 6.单击“编辑”,在文本末尾添加; then past your java/bin path. 然后经过您的java / bin路径。 in my system it is--> "C:\\Program Files\\Java\\jdk1.7.0_51\\bin" 7.Now open your sqldeveloper, it will open for sure. 在我的系统中,它是->“ C:\\ Program Files \\ Java \\ jdk1.7.0_51 \\ bin” 7.现在打开您的sqldeveloper,它肯定会打开。

  1. Delete the java.exe and javaw.exe in the following path " C:\\Windows\\System32 " 在以下路径“ C:\\ Windows \\ System32 ”中删除java.exe和javaw.exe
  2. Set Environmental Settings for your account or for the entire system if you are a admin 如果您是管理员,请为您的帐户或整个系统设置环境设置
  3. Setting for Entire System 设置整个系统
  • Mycomputericon >Right click>select properties>select Advanced System Properties>click Advanced Tab>click Environmental Variables>create a System variable names " JAVA_HOME "(any thing can be given but specific to name is better) in Vairable Name and for Value give the JDK path up to "bin" Mycomputericon>右键单击>选择属性>选择高级系统属性>单击高级选项卡>单击环境变量>在Vairable Name中创建一个系统变量名称“ JAVA_HOME ”(可以给出任何名称,但特定于名称的名称更好),对于Value, JDK路径到“ bin”

-Put JAVA_HOME in the Path vairable's value. -将JAVA_HOME放在Path变量的值中。

  1. For User Variable same process but in UserVariable section 对于“用户变量”,该过程相同,但在“用户变量”部分中

Hope this helps! 希望这可以帮助!

.

I think supported library files of sqldeveloper in your system are deleted,affected by virus or corrupted. 我认为您的系统中支持的sqldeveloper库文件已删除,受病毒影响或已损坏。 So download fresh copy of sqldeveloper and try again. 因此,请下载sqldeveloper的新副本,然后重试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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