SQL Developer 4.0 Downloads ã§Oracle SQL Developer 4.0 EA3ããã¦ã³ãã¼ãå¯è½ã«ãªã£ã¦ãããåãã¼ã¸ã§ã³ã®æï¼Oracle SQL Developer 4.0のインストールとややハマッた時のメモ - kagamihogeの日記ï¼ã¨åããããã£ãã®ã§å¯¾å¿æ¹æ³ãæ®ãã¦ããã
èµ·ãããã¨
Unable to create an instance of the Java Virtual Machine Located at path: C:\Java\jdk1.7.0_40\jre\bin\client\jvm.dll
åå ã¨å¯¾ç
Oracle SQL Developer 4.0のインストールとややハマッた時のメモ - kagamihogeの日記 ã®æã¨åãã§ãã¡ã¢ãªãå°ãªããã·ã³ã®å ´åã¯ããããã¡ã¢ãªè¨å®ãå¤æ´ããªããã°ãªããªããã¨ããããã§è¨å®ãã¡ã¤ã«ãå¤æ´ããã
SQL Developer 4.0ã®ãã£ã¬ã¯ããªæ§æã§ã¯ã%SQL_DEVELOPER_ROOT%\sqldeveloper\bin\sqldeveloper.conf ãåç §ããããã®ä¸è¡ç®ã«ãIncludeConfFile ../../ide/bin/ide.confãã¨ããã%SQL_DEVELOPER_ROOT%\ide\bin\ide.conf ãããã«è©²å½ãããããã®38è¡ç®ã¯ãããªã£ã¦ããã
Oracle SQL Developer 4.0のインストールとややハマッた時のメモ - kagamihogeの日記 ããæç²
â¦â¦ããã®ã ãèµ·åãã¦ãããªããSetJavaHomeãã³ã¡ã³ãã¢ã¦ããã¦ãã¨ã©ã¼ã«ãªã£ã¦èµ·åããªãã
%SQL_DEVELOPER_ROOT%\ide\bin\ide.confã®å é é¨åã«ã¯ãããªæãã®ãã¨ãæ¸ãã¦ããã
# (çç¥) If options need to be
# modified or added, the user may do so by modifying the custom configuration files
# located in the user's home directory. (çç¥)
#
# Windows Platforms:
# The location of user/product files are often configured during installation,
# but may be found in:
# %APPDATA%\\ \product.conf
# %APPDATA%\\ \jdev.conf
ï¼çç¥ï¼
#
# In particular, the directives to set the initial and maximum Java memory
# and the SetJavaHome directive to specify the JDK location can be overridden
# in that file instead of modifying this file.
å¤æ´ãããªãã·ã§ã³ã«é¢ãã¦ã¯ã¦ã¼ã¶ã¼ãã¼ã ãã£ã¬ã¯ããªä¸ã®è¨å®ãã¡ã¤ã«ãããã£ã¦ããããã¹ã¯ãããªæããSetJavaHomeã¨ãJDKã®ã¡ã¢ãªè¨å®ã¨ãã¯ãã®ã¦ã¼ã¶ã¼è¨å®ãã¡ã¤ã«ã§ä¸æ¸ãããã¾ããã¨ããªãã¨ããããããã®ãã¹ã§ãã¡ã¤ã«ä½ã£ã¦ããã°ããã®ããªãã¨æãã
ããããApplication Data\SQL Developer\4.0.0.13.30\product.conf ã¨ã Application Data\SQL Developer\4.00001330f\product.conf ã¨ãä½ã£ã¦ããã¡ãproduct-nameã¨ãproduct-versionã¨ãã¯ã%SQL_DEVELOPER_ROOT%\sqldeveloper\bin\version.properties ã«æ¸ãã¦ããå¤ã§ã¯ç¡ããããã
ãããã¼ã«ããã£ã¦ãã¨SQL Developerã®ä¸ã®äººã®tweetãå¼ã£ãããã
SQL Developer 4: location of Java home changed for Windows. C:\Users\$USER\AppData\Roaming\sqldeveloper\1.0.0.0.0\product.conf #FavoriteThis
— Jeff Smith (@thatjeffsmith) 2013, 10æ 21
ã«ããã¨Windows XPã§ã¯ Application Data\sqldeveloper\1.0.0.0.0\product.conf ã¨ãããã¨ã«ãªããã¦ãªããã§ãJDKã®ãã¼ã ãã£ã¬ã¯ããªã¨ã¡ã¢ãªè¨å®å¤æ´ããã
SetJavaHome C:\Java\jdk1.7.0_45
AddVMOption -Xmx512m
ãªãã±
èµ·åããããã£ã¦åããçµæã
SQL Developer 4 EA 3èµ·åããªããªãã
— kagamihoge (@kagamihoge) 2013, 11æ 8
ï¼ï¼
@kagamihoge what happens when you try? try launching from the bin directory instead
— Jeff Smith (@thatjeffsmith) 2013, 11æ 8
» About Jeffã«ããã¨ãIâm currently a Product Manager for Oracle, working on the SQL Developer teamãã¨ã®ãã¨ã軽ããããã
ãã ãã®ææ¢ã«è§£æ±ºæ³åãã£ã¦ãã®ã§ã大å¤ããã§ã¼ãªè±èªã§product.confã®å ´æãåãã£ã¦ãªãã£ããã¨ãsetjavahomeã¨vmè¨å®ã§èµ·åãããã£ã¦ãã¨ã¨ããããæ¸ããã
@thatjeffsmith thanks. i don't understand 4's product.conf location. CORRECT is Application Data\sqldeveloper\1.0.0.0.0\product.conf.
— kagamihoge (@kagamihoge) 2013, 11æ 8
@thatjeffsmith ...and fix SetJavaHome and AddVMOption, launching OK.thanks follow
— kagamihoge (@kagamihoge) 2013, 11æ 8
ãã§ãproduct.confã¯jvmã®ãã©ã¡ã¼ã¿æå®ããã¨ãã§ãç¹ã«éè¦ãªã®ãJDKã®ãã¼ã ããã¨4.0ã®æ°exeã¯JDKãèªåã§æ¢ãã¦ãããããã¨ã®ãã©ãã¼ã
@kagamihoge that defined the java params, most importantly the location of the JDK. New exe auto-finds the JDK.
— Jeff Smith (@thatjeffsmith) 2013, 11æ 8
ã¾ããè¤æ°ã¦ã¼ã¶ã§åä¸ãã·ã³ã使ãå ´åã«è¨å®ãã¡ã¤ã«ãåãããå ´åã®ãã®ã£ããããçã³ã¡ã³ããã
@kagamihoge apparently it's for folks who want to have multiple users on a machine with independent settings
— Jeff Smith (@thatjeffsmith) 2013, 11æ 8
æããã¦ã©ã®ãããæè¬ãä¼ãã£ã¦ãã®ãè¬ã ãã©Stack Overflowã¨ãè¦ã¦ãã¨thanks a lotã£ã¦è¯ãè¦ãããã¾ãã¿ãã³ããæ¸ãã°æè¬ã®æã¯ä¼ããã ãããã£ã¦ãã¨ã§ãããªã£ãã
@thatjeffsmith i just understood. thanks a lot.
— kagamihoge (@kagamihoge) 2013, 11æ 8
ããcoco塾è¡ããããããªã