diff --git a/两种方式选择其中一种即可.txt b/两种方式选择其中一种即可.txt new file mode 100644 index 0000000..e69de29 diff --git a/使用说明.txt b/使用说明.txt new file mode 100644 index 0000000..d9b1b9d --- /dev/null +++ b/使用说明.txt @@ -0,0 +1,11 @@ +1、本激活方法适用于2022、2021、2020、2019、2018全系列版本;; +2、使用前请仔细阅读下面的图文教程, 按照教程一步一步来即可; + + +文档更新日期:2022.2.6 + +方式1:无限重置30天试用期教程: +http://www.itmind.net/11731.html + +方式2:激活到2099年教程: +http://www.itmind.net/11734.html diff --git a/方式1:无限重置30天试用期补丁/ide-eval-resetter-2.1.6.zip b/方式1:无限重置30天试用期补丁/ide-eval-resetter-2.1.6.zip new file mode 100644 index 0000000..c7eac05 Binary files /dev/null and b/方式1:无限重置30天试用期补丁/ide-eval-resetter-2.1.6.zip differ diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/README.pdf b/方式2:激活到2099年补丁/ja-netfilter-all/README.pdf new file mode 100644 index 0000000..7570755 Binary files /dev/null and b/方式2:激活到2099年补丁/ja-netfilter-all/README.pdf differ diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/dns.conf b/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/dns.conf new file mode 100644 index 0000000..68b54d1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/dns.conf @@ -0,0 +1,2 @@ +[DNS] +EQUAL,jetbrains.com \ No newline at end of file diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/mymap.conf b/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/mymap.conf new file mode 100644 index 0000000..135167a --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/mymap.conf @@ -0,0 +1,4 @@ +[MyMap] +EQUAL,licenseeName->永久激活 +EQUAL,gracePeriodDays->100000 +EQUAL,paidUpTo->2099-12-31 \ No newline at end of file diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/power.conf b/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/power.conf new file mode 100644 index 0000000..a5a9797 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/power.conf @@ -0,0 +1,3 @@ +[Result] +EQUAL,120506319308405029943033101198259523557651500267734599270782782071425072541184605728867830395125412768750966448411447392137801711908001958831204692561738046570955709184538088569271703484602917023462976408329100293802371486063140115775311907530943821345005598057265747678100463689973450156515895355214983079672467769169324175533323801179755544364921063654340185317077965735659865485150734884110709760680757502730007505995422237875348017761382234951127263548660889969621730944377739766734765769747684457663965611896398862841334032542726392699785677440644859509166466497325071885386505404431787167239320957696896447925472784312642576835792921100239616617639216190447230487878404191838684279341834945197861631446454083984351911070798505031973496634229907567362853550735007045265430703581336189733180744888091740381912913980707537008943084904260746266383019688346709856215660232636334604552145129775009725685598798774376749830567219982166661918408832945395290223853748014160473876195098438959881711585152480525870219408398012002829112863175041709512032251930709608035158747101960447898838942705485214217426612863919268749874079707310181890737049603255938886865558759802593500502795018952114650332765839003032013708006750600413455628536259,65537,860106576952879101192782278876319243486072481962999610484027161162448933268423045647258145695082284265933019120714643752088997312766689988016808929265129401027490891810902278465065056686129972085119605237470899952751915070244375173428976413406363879128531449407795115913715863867259163957682164040613505040314747660800424242248055421184038777878268502955477482203711835548014501087778959157112423823275878824729132393281517778742463067583320091009916141454657614089600126948087954465055321987012989937065785013284988096504657892738536613208311013047138019418152103262155848541574327484510025594166239784429845180875774012229784878903603491426732347994359380330103328705981064044872334790365894924494923595382470094461546336020961505275530597716457288511366082299255537762891238136381924520749228412559219346777184174219999640906007205260040707839706131662149325151230558316068068139406816080119906833578907759960298749494098180107991752250725928647349597506532778539709852254478061194098069801549845163358315116260915270480057699929968468068015735162890213859113563672040630687357054902747438421559817252127187138838514773245413540030800888215961904267348727206110582505606182944023582459006406137831940959195566364811905585377246353->31872219281407242025505148642475109331663948030010491344733687844358944945421064967310388547820970408352359213697487269225694990179009814674781374751323403257628081559561462351695605167675284372388551941279783515209238245831229026662363729380633136520288327292047232179909791526492877475417113579821717193807584807644097527647305469671333646868883650312280989663788656507661713409911267085806708237966730821529702498972114194166091819277582149433578383639532136271637219758962252614390071122773223025154710411681628917523557526099053858210363406122853294409830276270946292893988830514538950951686480580886602618927728470029090747400687617046511462665469446846624685614084264191213318074804549715573780408305977947238915527798680393538207482620648181504876534152430149355791756374642327623133843473947861771150672096834149014464956451480803326284417202116346454345929350148770746553056995922154382822307758515805142704373984019252210715650875853634697920708113806880196144197384637328982263167395073688501517286678083973976140696077590122053014085412828620051470085033364773099146103525313018873319293728800442101520384088109603555959893639842091339193857485407672132882577840295039058621747654642202620767068924079813640067442975 +EQUAL,8028659553836119901593655311677865290672387540027895708985570867455842278776015838142490556122515317003830575671206217290165955723210315889275621408086645995280770696135307020454887097794294273869941097888549275028604248332746117479367032100139091095818169444690976206636597409322539276252570779516636180497560345090851316373570301807158645002654208816162902430571101092599540795501152368695431168224953320283502815852695423193526255836776240019085157444254721864134058745605280085897450952937893645487302683006269553010996013513395044612932182772364336368242146044741660443063207438830622376694839772096688572619877,65537,21052260334349247097390263197515551021430500095747078612475171670547647379514624742422155617118382403386162585789957995106937640909858927441120214136124618650916253946431099279059999234690271861285094667690686174087562943995337813383652323725628494261414287817117703355799303086256914782640807165021059760198249458510362432176960683009890989990086614909076853502936665842869163947730574085863127445475967466399017447434906719734480523659879746056728772390182338236187070557277461449143752467418310063647027554915213099799725713708651142505590086828211040619445941301844994775362846837122335522584661592447560060751169->986236757547332986472011617696226561292849812918563355472727826767720188564083584387121625107510786855734801053524719833194566624465665316622563244215340671405971599343902468620306327831715457360719532421388780770165778156818229863337344187575566725786793391480600129482653072861971002459947277805295727097226389568776499707662505334062639449916265137796823793276300221537201727072401742985542559596685092673521228140822200236743113743661549252453726123450722876929538747702356573783116197523966334991563351853851212597377279504828784687920949198341066450537230593608440475006386024448307924665012521692416658191 \ No newline at end of file diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/url.conf b/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/url.conf new file mode 100644 index 0000000..bb7fab0 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/config-jetbrains/url.conf @@ -0,0 +1,2 @@ +[URL] +PREFIX,https://account.jetbrains.com/lservice/rpc/validateKey.action \ No newline at end of file diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/ja-netfilter.jar b/方式2:激活到2099年补丁/ja-netfilter-all/ja-netfilter.jar new file mode 100644 index 0000000..58fe4cb Binary files /dev/null and b/方式2:激活到2099年补丁/ja-netfilter-all/ja-netfilter.jar differ diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/dns.jar b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/dns.jar new file mode 100644 index 0000000..113c699 Binary files /dev/null and b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/dns.jar differ diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/hideme.jar b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/hideme.jar new file mode 100644 index 0000000..a21ed52 Binary files /dev/null and b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/hideme.jar differ diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/mymap.jar b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/mymap.jar new file mode 100644 index 0000000..d9f7e83 Binary files /dev/null and b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/mymap.jar differ diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/power.jar b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/power.jar new file mode 100644 index 0000000..cf7da5b Binary files /dev/null and b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/power.jar differ diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/url.jar b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/url.jar new file mode 100644 index 0000000..495804e Binary files /dev/null and b/方式2:激活到2099年补丁/ja-netfilter-all/plugins-jetbrains/url.jar differ diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/readme.txt b/方式2:激活到2099年补丁/ja-netfilter-all/readme.txt new file mode 100644 index 0000000..c541986 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/readme.txt @@ -0,0 +1,21 @@ +License code: + 1. add -javaagent:/path/to/ja-netfilter.jar=jetbrains to your vmoptions (manual or auto) + 2. log out of the jb account in the 'Licenses' window + 3. use key on page https://jetbra.in/5d84466e31722979266057664941a71893322460 + +Or + +License server: + 1. add -javaagent:/path/to/ja-netfilter.jar=jetbrains to your vmoptions (manual or auto) + 2. log out of the jb account in the 'Licenses' window + 3. uninstall plugin: 'IDE Eval Reset' + 4. use license server url: https://jetbra.in + +Enjoy it~ + + +NEW: + Auto configure vmoptions (Copy form Neo): + macOS or Linux: execute "scripts/install.sh" + Windows: double click to execute "scripts\install-current-user.vbs" (For current user) + "scripts\install-all-users.vbs" (For all users) diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install-all-users.vbs b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install-all-users.vbs new file mode 100644 index 0000000..b0f3639 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install-all-users.vbs @@ -0,0 +1,73 @@ +If Not WScript.Arguments.Named.Exists("elevate") Then + CreateObject("Shell.Application").ShellExecute WScript.FullName, """" & WScript.ScriptFullName & """ /elevate", "", "runas", 10 + WScript.Quit +End If + +Set oShell = CreateObject("WScript.Shell") +Set oEnvSystem = oShell.Environment("SYSTEM") +Set oFS = CreateObject("Scripting.FileSystemObject") + +Dim sBasePath, sJarFile +sBasePath = oFS.GetParentFolderName(oFS.GetParentFolderName(WScript.ScriptFullName)) +sJarFile = sBasePath & "\ja-netfilter.jar" + +If Not oFS.FileExists(sJarFile) Then + MsgBox "ja-netfilter.jar not found", vbOKOnly Or vbCritical + WScript.Quit -1 +End If + +MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" + +Dim sEnvKey, sEnvVal, aJBProducts +aJBProducts = Array("idea", "clion", "phpstorm", "goland", "pycharm", "webstorm", "webide", "rider", "datagrip", "rubymine", "appcode", "dataspell", "gateway", "jetbrains_client", "jetbrainsclient") + +Set re = New RegExp +re.Global = True +re.IgnoreCase = True +re.Pattern = "^\-javaagent:.*[\/\\]ja\-netfilter\.jar.*" + +Sub RemoveEnv(env) + On Error Resume Next + + For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sEnvVal = oShell.ExpandEnvironmentStrings("%" & sEnvKey & "%") + If sEnvVal <> ("%" & sEnvKey & "%") Then + env.Remove(sEnvKey) + End If + Next +End Sub + +RemoveEnv oShell.Environment("USER") + +Dim sVmOptionsFile +For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sVmOptionsFile = sBasePath & "\vmoptions\" & sPrd & ".vmoptions" + If oFS.FileExists(sVmOptionsFile) Then + ProcessVmOptions sVmOptionsFile + oEnvSystem(sEnvKey) = sVmOptionsFile + End If +Next + +Sub ProcessVmOptions(ByVal file) + Dim sLine, sNewContent, bMatch + Set oFile = oFS.OpenTextFile(file, 1, 0) + + sNewContent = "" + Do Until oFile.AtEndOfStream + sLine = oFile.ReadLine + bMatch = re.Test(sLine) + If Not bMatch Then + sNewContent = sNewContent & sLine & vbLf + End If + Loop + oFile.Close + + sNewContent = sNewContent & "-javaagent:" & sJarFile & "=jetbrains" + Set oFile = oFS.OpenTextFile(file, 2, 0) + oFile.Write sNewContent + oFile.Close +End Sub + +MsgBox "Done." diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install-current-user.vbs b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install-current-user.vbs new file mode 100644 index 0000000..fd7ad4b --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install-current-user.vbs @@ -0,0 +1,54 @@ +Set oShell = CreateObject("WScript.Shell") +Set oEnv = oShell.Environment("USER") +Set oFS = CreateObject("Scripting.FileSystemObject") + +Dim sEnvKey, sEnvVal, aJBProducts +aJBProducts = Array("idea", "clion", "phpstorm", "goland", "pycharm", "webstorm", "webide", "rider", "datagrip", "rubymine", "appcode", "dataspell", "gateway", "jetbrains_client", "jetbrainsclient") + +Set re = New RegExp +re.Global = True +re.IgnoreCase = True +re.Pattern = "^\-javaagent:.*[\/\\]ja\-netfilter\.jar.*" + +Dim sBasePath, sJarFile +sBasePath = oFS.GetParentFolderName(oShell.CurrentDirectory) +sJarFile = sBasePath & "\ja-netfilter.jar" + +If Not oFS.FileExists(sJarFile) Then + MsgBox "ja-netfilter.jar not found", vbOKOnly Or vbCritical + WScript.Quit -1 +End If + +MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" + +Dim sVmOptionsFile +For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sVmOptionsFile = sBasePath & "\vmoptions\" & sPrd & ".vmoptions" + If oFS.FileExists(sVmOptionsFile) Then + ProcessVmOptions sVmOptionsFile + oEnv(sEnvKey) = sVmOptionsFile + End If +Next + +Sub ProcessVmOptions(ByVal file) + Dim sLine, sNewContent, bMatch + Set oFile = oFS.OpenTextFile(file, 1, 0) + + sNewContent = "" + Do Until oFile.AtEndOfStream + sLine = oFile.ReadLine + bMatch = re.Test(sLine) + If Not bMatch Then + sNewContent = sNewContent & sLine & vbLf + End If + Loop + oFile.Close + + sNewContent = sNewContent & "-javaagent:" & sJarFile & "=jetbrains" + Set oFile = oFS.OpenTextFile(file, 2, 0) + oFile.Write sNewContent + oFile.Close +End Sub + +MsgBox "Done." diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install.sh b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install.sh new file mode 100644 index 0000000..e1ba23c --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/install.sh @@ -0,0 +1,91 @@ +#!/bin/sh + +set -e + +OS_NAME=$(uname -s) +JB_PRODUCTS="idea clion phpstorm goland pycharm webstorm webide rider datagrip rubymine appcode dataspell gateway jetbrains_client jetbrainsclient" + +BASE_PATH=$(dirname $( + cd $(dirname "$0") + pwd +)) + +JAR_FILE_PATH="${BASE_PATH}/ja-netfilter.jar" + +if [ ! -f "${JAR_FILE_PATH}" ]; then + echo 'ja-netfilter.jar not found' + exit -1 +fi + +KDE_ENV_DIR="${HOME}/.config/plasma-workspace/env" +LAUNCH_AGENTS_DIR="${HOME}/Library/LaunchAgents" + +PROFILE_PATH="${HOME}/.profile" +ZSH_PROFILE_PATH="${HOME}/.zshrc" +PLIST_PATH="${LAUNCH_AGENTS_DIR}/jetbrains.vmoptions.plist" + +if [ $OS_NAME = "Darwin" ]; then + BASH_PROFILE_PATH="${HOME}/.bash_profile" + + mkdir -p "${LAUNCH_AGENTS_DIR}" + echo 'Labeljetbrains.vmoptionsProgramArgumentssh-c' >"${PLIST_PATH}" +else + BASH_PROFILE_PATH="${HOME}/.bashrc" + mkdir -p "${KDE_ENV_DIR}" +fi + +touch "${PROFILE_PATH}" +touch "${BASH_PROFILE_PATH}" +touch "${ZSH_PROFILE_PATH}" + +MY_VMOPTIONS_SHELL_NAME="jetbrains.vmoptions.sh" +MY_VMOPTIONS_SHELL_FILE="${HOME}/.${MY_VMOPTIONS_SHELL_NAME}" +echo '#!/bin/sh' >"${MY_VMOPTIONS_SHELL_FILE}" + +EXEC_LINE='___MY_VMOPTIONS_SHELL_FILE="${HOME}/.jetbrains.vmoptions.sh"; if [ -f "${___MY_VMOPTIONS_SHELL_FILE}" ]; then . "${___MY_VMOPTIONS_SHELL_FILE}"; fi' + +for PRD in $JB_PRODUCTS; do + VM_FILE_PATH="${BASE_PATH}/vmoptions/${PRD}.vmoptions" + if [ ! -f "${VM_FILE_PATH}" ]; then + continue + fi + + if [ $OS_NAME = "Darwin" ]; then + sed -i '' '/^\-javaagent:.*[\/\\]ja\-netfilter\.jar.*/d' "${VM_FILE_PATH}" + else + sed -i '/^\-javaagent:.*[\/\\]ja\-netfilter\.jar.*/d' "${VM_FILE_PATH}" + fi + + echo "-javaagent:${JAR_FILE_PATH}=jetbrains" >>"${VM_FILE_PATH}" + + ENV_NAME=$(echo $PRD | tr '[a-z]' '[A-Z]')"_VM_OPTIONS" + echo "export ${ENV_NAME}=\"${VM_FILE_PATH}\"" >>"${MY_VMOPTIONS_SHELL_FILE}" + + if [ $OS_NAME = "Darwin" ]; then + launchctl setenv "${ENV_NAME}" "${VM_FILE_PATH}" + echo "launchctl setenv \"${ENV_NAME}\" \"${VM_FILE_PATH}\"" >>"${PLIST_PATH}" + fi +done + +if [ $OS_NAME = "Darwin" ]; then + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${PROFILE_PATH}" >/dev/null 2>&1 + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${BASH_PROFILE_PATH}" >/dev/null 2>&1 + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${ZSH_PROFILE_PATH}" >/dev/null 2>&1 + + echo 'RunAtLoad' >>"${PLIST_PATH}" +else + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${PROFILE_PATH}" >/dev/null 2>&1 + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${BASH_PROFILE_PATH}" >/dev/null 2>&1 + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${ZSH_PROFILE_PATH}" >/dev/null 2>&1 +fi + +echo "${EXEC_LINE}" >>"${PROFILE_PATH}" +echo "${EXEC_LINE}" >>"${BASH_PROFILE_PATH}" +echo "${EXEC_LINE}" >>"${ZSH_PROFILE_PATH}" + +if [ $OS_NAME = "Darwin" ]; then + echo 'done.' +else + ln -sf "${MY_VMOPTIONS_SHELL_FILE}" "${KDE_ENV_DIR}/${MY_VMOPTIONS_SHELL_NAME}" + echo "done. you'd better log off first!" +fi diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall-all-users.vbs b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall-all-users.vbs new file mode 100644 index 0000000..81d3f8d --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall-all-users.vbs @@ -0,0 +1,28 @@ +If Not WScript.Arguments.Named.Exists("elevate") Then + CreateObject("Shell.Application").ShellExecute WScript.FullName, """" & WScript.ScriptFullName & """ /elevate", "", "runas", 10 + WScript.Quit +End If + +MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" + +Sub RemoveEnv(env) + On Error Resume Next + + Dim sEnvKey, sEnvVal, aJBProducts + aJBProducts = Array("idea", "clion", "phpstorm", "goland", "pycharm", "webstorm", "webide", "rider", "datagrip", "rubymine", "appcode", "dataspell", "gateway", "jetbrains_client", "jetbrainsclient") + + For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sEnvVal = oShell.ExpandEnvironmentStrings("%" & sEnvKey & "%") + If sEnvVal <> ("%" & sEnvKey & "%") Then + env.Remove(sEnvKey) + End If + Next +End Sub + +Set oShell = CreateObject("WScript.Shell") + +RemoveEnv oShell.Environment("USER") +RemoveEnv oShell.Environment("SYSTEM") + +MsgBox "Done." diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall-current-user.vbs b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall-current-user.vbs new file mode 100644 index 0000000..f0eabf6 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall-current-user.vbs @@ -0,0 +1,17 @@ +Set oShell = CreateObject("WScript.Shell") +Set oEnv = oShell.Environment("USER") + +Dim sEnvKey, sEnvVal, aJBProducts +aJBProducts = Array("idea", "clion", "phpstorm", "goland", "pycharm", "webstorm", "webide", "rider", "datagrip", "rubymine", "appcode", "dataspell", "gateway", "jetbrains_client", "jetbrainsclient") + +MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" + +For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sEnvVal = oShell.ExpandEnvironmentStrings("%" & sEnvKey & "%") + If sEnvVal <> ("%" & sEnvKey & "%") Then + oEnv.Remove(sEnvKey) + End If +Next + +MsgBox "Done." diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall.sh b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall.sh new file mode 100644 index 0000000..adec95e --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/scripts/uninstall.sh @@ -0,0 +1,50 @@ +#!/bin/sh + +set -e + +OS_NAME=$(uname -s) +JB_PRODUCTS="idea clion phpstorm goland pycharm webstorm webide rider datagrip rubymine appcode dataspell gateway jetbrains_client jetbrainsclient" + +KDE_ENV_DIR="${HOME}/.config/plasma-workspace/env" + +PROFILE_PATH="${HOME}/.profile" +ZSH_PROFILE_PATH="${HOME}/.zshrc" +PLIST_PATH="${HOME}/Library/LaunchAgents/jetbrains.vmoptions.plist" + +if [ $OS_NAME = "Darwin" ]; then + BASH_PROFILE_PATH="${HOME}/.bash_profile" +else + BASH_PROFILE_PATH="${HOME}/.bashrc" +fi + +touch "${PROFILE_PATH}" +touch "${BASH_PROFILE_PATH}" +touch "${ZSH_PROFILE_PATH}" + +MY_VMOPTIONS_SHELL_NAME="jetbrains.vmoptions.sh" +MY_VMOPTIONS_SHELL_FILE="${HOME}/.${MY_VMOPTIONS_SHELL_NAME}" + +rm -rf "${MY_VMOPTIONS_SHELL_FILE}" + +if [ $OS_NAME = "Darwin" ]; then + for PRD in $JB_PRODUCTS; do + ENV_NAME=$(echo $PRD | tr '[a-z]' '[A-Z]')"_VM_OPTIONS" + + launchctl unsetenv "${ENV_NAME}" + done + + rm -rf "${PLIST_PATH}" + + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${PROFILE_PATH}" >/dev/null 2>&1 + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${BASH_PROFILE_PATH}" >/dev/null 2>&1 + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${ZSH_PROFILE_PATH}" >/dev/null 2>&1 + + echo 'done.' +else + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${PROFILE_PATH}" >/dev/null 2>&1 + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${BASH_PROFILE_PATH}" >/dev/null 2>&1 + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${ZSH_PROFILE_PATH}" >/dev/null 2>&1 + + rm -rf "${KDE_ENV_DIR}/${MY_VMOPTIONS_SHELL_NAME}" + echo "done. you'd better log off first!" +fi diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/sha1sum.txt b/方式2:激活到2099年补丁/ja-netfilter-all/sha1sum.txt new file mode 100644 index 0000000..de913ac --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/sha1sum.txt @@ -0,0 +1,33 @@ +d120501b7ce795942795ca7ee8d1c05086bf6236 ja-netfilter.jar +a18cf7130c4e22ac068b3581f558162026884805 README.pdf +606a44ac45564f840262d9b7066bfbb0554a30ef readme.txt +4e8693b5a7a3837cf7f6db0c4f1316f376d34721 plugins-jetbrains/dns.jar +729d00e4fa04ca49c00b5b6aa60706dfadd5644e plugins-jetbrains/hideme.jar +dc104acd2b3c83474f04b975f882a43017bbc2b2 plugins-jetbrains/mymap.jar +e1205c93dc1e7179e9e67e0d6f99a681d056a040 plugins-jetbrains/power.jar +b1bebbee8d98218db5794f596001b8b7427ae0c7 plugins-jetbrains/url.jar +77bbb4b2ec2267bb4c53ed9e8d9b9641da185c7d config-jetbrains/dns.conf +a4718fca66a189cec5245b826823e7bd6a6353ac config-jetbrains/mymap.conf +6889538525d845899d09e233b70ce7dc91ea65fc config-jetbrains/power.conf +0b219cc137a185439fb9bd99d85b8fe320967507 config-jetbrains/url.conf +a8419c985311ba34dcf7fbd8530ddcb65250e7fe scripts/install-all-users.vbs +e20448f6f3dcbf8aa6b89363793959a7ce331cbd scripts/install-current-user.vbs +25fafe775fd3735b2506ef8286d5768c04e0b179 scripts/install.sh +74b2bb3d5c787014727ba972cafded3d32fcc326 scripts/uninstall-all-users.vbs +e531eb99552e930bc31ec3af3bd7e3a8c1318824 scripts/uninstall-current-user.vbs +d3831b8e1b914892f412dc86d5c79f89314e6cd1 scripts/uninstall.sh +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/appcode.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/clion.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/datagrip.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/dataspell.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/gateway.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/goland.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/idea.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/jetbrains_client.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/jetbrainsclient.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/phpstorm.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/pycharm.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/rider.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/rubymine.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/webide.vmoptions +ff021a44009b5e5379a092f0aa1ad8ac770a4dcd vmoptions/webstorm.vmoptions diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/appcode.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/appcode.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/appcode.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/clion.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/clion.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/clion.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/datagrip.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/datagrip.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/datagrip.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/dataspell.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/dataspell.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/dataspell.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/gateway.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/gateway.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/gateway.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/goland.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/goland.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/goland.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/idea.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/idea.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/idea.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/jetbrains_client.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/jetbrains_client.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/jetbrains_client.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/jetbrainsclient.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/jetbrainsclient.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/jetbrainsclient.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/phpstorm.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/phpstorm.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/phpstorm.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/pycharm.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/pycharm.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/pycharm.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/rider.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/rider.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/rider.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/rubymine.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/rubymine.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/rubymine.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/webide.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/webide.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/webide.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/webstorm.vmoptions b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/webstorm.vmoptions new file mode 100644 index 0000000..56278a1 --- /dev/null +++ b/方式2:激活到2099年补丁/ja-netfilter-all/vmoptions/webstorm.vmoptions @@ -0,0 +1,18 @@ +-Xms128m +-Xmx1024m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + diff --git a/方式2:激活到2099年补丁/注意:将上面文件夹整个拷贝到某个位置,就不要动了.txt b/方式2:激活到2099年补丁/注意:将上面文件夹整个拷贝到某个位置,就不要动了.txt new file mode 100644 index 0000000..e69de29