当前位置:网站首页>Solve the flash back problem of upgrading MacOS Big Sur sqldeveloper

Solve the flash back problem of upgrading MacOS Big Sur sqldeveloper

2020-12-07 11:05:46 osc_ f9krav3q

author : The captain sharpened his sword

The fault phenomenon :
upgrade macOS Big Sur after ,SQLDeveloper Flash back

System environment :
1、 Operating system version :

macOS Big Sur 11.0.1

 Solve the upgrade  macOS Big Sur SQLDeveloper  The problem of the flashback

2、Java edition :

MBP:$ java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)


3、SQLDeveloper edition :

Oracle The official download :SQLDeveloper 19.2.1.247
MD5 (sqldeveloper-19.2.1.247.2212-macosx.app.zip) = 65082059e4332566ae69ba68cd27d3c8

 Solve the upgrade  macOS Big Sur SQLDeveloper  The problem of the flashback



The fault phenomenon :
Upgrade the system to macOS Big Sur , open SQLDeveloper Flashback occurs

resolvent :
Method 1: Do it manually

Entry directory :
$cd /Applications/SQLDeveloper.app/Contents/resources/sqldeveloper
Execute the script :
$zsh sqldeveloper.sh


Method 2: Appoint Java Home
(1) see Java Home
Of every system Java Version and installation path may be inconsistent , For example, in my environment Java The version is jdk1.8

Carry out orders :
$/usr/libexec/java_home
Return information :
/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home


(2) modify SQLDeveloper The configuration file
Profile path :
The current user's home directory has a .sqldeveloper Catalog , There is one in the catalog product.conf file

Edit the file :
$vi /Users/user1/.sqldeveloper/19.2.1/product.conf

(3) Profile contents :
Add content :
take The first step is to add the feedback content of the command to product.confg In file

SetJavaHome /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home

 Solve the upgrade  macOS Big Sur SQLDeveloper  The problem of the flashback

The repair was successful :

 Solve the upgrade  macOS Big Sur SQLDeveloper  The problem of the flashback

 Solve the upgrade  macOS Big Sur SQLDeveloper  The problem of the flashback

Reference material :
https://community.oracle.com/tech/developers/discussion/4477413/sql-developer-on-macos-11-big-sur

版权声明
本文为[osc_ f9krav3q]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201207110404927d.html