gpt4 book ai didi

java - Oracle sql开发者命令java命令行

转载 作者:行者123 更新时间:2023-12-02 11:45:05 25 4
gpt4 key购买 nike

我们的系统管理员已禁止从命令行启动未经批准的程序,并且不允许我启动 sqldeveloper.exe,但允许我启动 java。有谁知道用 sqldeveloper 作为应用程序启动 java 的命令行语法是什么?

最佳答案

这可能不推荐,但可能,因为正如你所说,它是一个java程序。唯一会丢失的是与基本操作系统的文件关联。这意味着双击 .sql 文件将不会打开 sqldev。

cmd 行并不简单,运行在 linux/osx 上的 sqldeveloper shell 脚本就可以得到它。

bash -x sqldeveloper

然后你会在控制台中看到 java 命令,就像我的 mac 一样。

java -Xbootclasspath/a:/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/lib/dt.jar -Djdeveloper.system_http_proxy=DIRECT -Djdeveloper.system_http_non_proxy_hosts= -Dsun.java2d.noddraw=true -XX:CompileCommand=quiet -XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot -Dnetbeans.home=../../ide/bin/../../netbeans/platform/ -Dnetbeans.logger.console=true -Dexcluded.modules=org.eclipse.osgi -Dide.cluster.dirs=../../ide/bin/../../netbeans/fcpbridge/:../../ide/bin/../../netbeans/ide/:../../ide/bin/../../netbeans/../ -Xverify:none -Doracle.ide.extension.HooksProcessingMode=LAZY -Dorg.eclipse.equinox.simpleconfigurator.configUrl=file:bundles.info -Dosgi.bundles.defaultStartLevel=1 -Dosgi.configuration.cascaded=false -Dosgi.noShutdown=true '-Dorg.osgi.framework.bootdelegation=*' -Dosgi.parentClassloader=app -Dosgi.locking=none -Dosgi.contextClassLoaderParent=app -Dosgi.classloader.type=parallel -Dosgi.bundlefile.limit=500 -Dide.feedback-server=ide.us.oracle.com -Djavax.xml.transform.TransformerFactory=oracle.ide.xml.switchable.SwitchableTransformerFactory -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory -Djavax.xml.stream.util.XMLEventAllocator=oracle.ideimpl.xml.stream.XMLEventAllocatorImpl -Doracle.ide.reportEDTViolations=bug -Doracle.ide.reportEDTViolations.exceptionsfile=../../ide/bin/swing-thread-violations.conf -Xms128M -Xmx800M -Doracle.ide.IdeFrameworkCommandLineOptions=-clean,-console,-debugmode,-migrate,-migrate:,-nomigrate,-nonag,-nondebugmode,-noreopen,-nosplash,-role:,-su -Dide.update.usage.servers=https://www.oracle.com/webfolder/technetwork/sqldeveloper/usage.xml -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.shell.font.languages= -Doracle.ide.startup.features=sqldeveloper -Doracle.ide.osgi.boot.api.OJStartupHook=oracle.dbtools.raptor.startup.HomeSupport -Doracle.jdbc.mapDateToTimestamp=false -Doracle.jdbc.autoCommitSpecCompliant=false -Doracle.jdbc.useFetchSizeWithLongColumn=true -Dsun.locale.formatasdefault=true -Dorg.netbeans.CLIHandler.server=false -Djava.util.logging.config.file=logging-debug.conf -Dsqldev.debug=true -Dsqldev.cloud=true -Dsqldev.onsd=true -Dsqldev.onsdDDL=true -ea -Dosgi.clean=true -Dsqldev.debugbuild=true -Dcom.sun.management.jmxremote -Dprism.order=sw -Dprism.verbose=true -Dcom.apple.mrj.application.apple.menu.about.name=SQL_Developer -Dcom.apple.mrj.application.growbox.intrudes=false -Dcom.apple.macos.smallTabs=true -Dapple.laf.useScreenMenuBar=true '-Xdock:name=Oracle SQL Developer' -Xdock:icon=SQLDeveloperIcons.icns '-Dide.conf="/Users/klrice/workspace/raptor_trunk/ide/sqldeveloper/bin/sqldeveloper.conf"' '-Duser.conf="/Users/klrice/.sqldeveloper/17.4.0/product.conf"' '-Dtool.user.conf="/Users/klrice/.sqldeveloper/17.4.0/sqldeveloper.conf"' '-Dide.startingcwd="/Users/klrice/workspace/raptor_trunk/ide/sqldeveloper/bin"' -Xbootclasspath/p:../../ide/bin/../../rdbms/jlib/ojdi.jar -classpath ../../ide/bin/../../ide/lib/ide-boot.jar:../../ide/bin/../../netbeans/platform/lib/boot.jar:../../ide/bin/../../netbeans/platform/lib/org-openide-util-ui.jar:../../ide/bin/../../netbeans/platform/lib/org-openide-util.jar:../../ide/bin/../../netbeans/platform/lib/org-openide-util-lookup.jar:../../ide/bin/../../netbeans/platform/lib/org-openide-modules.jar:../../ide/bin/../../ide/lib/fcpboot.jar:../../ide/bin/../../ide/lib/xml-factory.jar:../../ide/bin/../../ide/lib/woodstox-core-asl-4.2.0.jar:../../ide/bin/../../ide/lib/stax2-api-3.1.1.jar:../lib/oracle.sqldeveloper.homesupport.jar oracle.ide.osgi.boot.OracleIdeLauncher

关于java - Oracle sql开发者命令java命令行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48267142/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com