Last modified by Samuel Pelletier on 2025/12/03 16:46

From version 14.1
edited by D Tim Cummings
on 2021/11/11 22:49
Change comment: There is no comment for this version
To version 18.1
edited by Markus Ruggiero
on 2022/07/28 14:18
Change comment: Updated filenames for Java 17.0.3 version

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +WOLips
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.timcu
1 +XWiki.ruggiero
Content
... ... @@ -4,12 +4,12 @@
4 4  
5 5  === JRE patched with the DCEVM ===
6 6  
7 -The Jetbrains JDK releases are unofficial but they provide JREs patched with the DCEVM. They are available at [[https:~~/~~/github.com/JetBrains/JetBrainsRuntime/releases>>url:https://github.com/JetBrains/JetBrainsRuntime/releases||shape="rect"]] . These instructions were tested with Release 17_0_1-b164.4, architecture osx-x64, JBR with JCEF (DCEVM) , [[jbr>>url:https://cache-redirector.jetbrains.com/intellij-jbr/jbr_dcevm-17_0_1-osx-x64-b164.4.tar.gz||shape="rect"]]  and [[jbrsdk>>url:https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_dcevm-17_0_1-osx-x64-b164.4.tar.gz||shape="rect"]]. They should also work with architecture osx-aarch64.
7 +The Jetbrains JDK releases are unofficial but they provide JREs patched with the DCEVM. They are available at [[https:~~/~~/github.com/JetBrains/JetBrainsRuntime/releases>>url:https://github.com/JetBrains/JetBrainsRuntime/releases||shape="rect"]] . These instructions were tested with Release 17_0_3-b164.4, architecture osx-x64, JBR with JCEF (DCEVM), [[jbrsdk>>url:https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_dcevm-17_0_1-osx-x64-b164.4.tar.gz||shape="rect"]]. They should also work with architecture osx-aarch64.
8 8  
9 9  
10 10  \\
11 11  
12 -{{{curl -OL curl -O https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_dcevm-17_0_1-osx-x64-b164.4.tar.gztar -zxf jbrsdk_dcevm-17_0_1-osx-x64-b164.4.tar.gzsudo mv jbrsdk /Library/Java/JavaVirtualMachines/jbrsdk_dcevm-17_0_1-osx-x64-b164.4}}}
12 +{{{curl -OL https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-17.0.3-osx-x64-b469.32.tar.gztar -zxf jbrsdk_jcef-17.0.3-osx-x64-b469.32.tar.gzsudo mv jbrsdk_jcef-17.0.3-x64-b469 /Library/Java/JavaVirtualMachines/}}}
13 13  
14 14  === Hotswap Agent ===
15 15  
... ... @@ -18,15 +18,15 @@
18 18  
19 19  \\
20 20  
21 -{{{curl -OL https://github.com/HotswapProjects/HotswapAgent/releases/download/1.4.2-SNAPSHOT/hotswap-agent-1.4.2-SNAPSHOT.jarsudo mkdir /Library/Java/JavaVirtualMachines/jbrsdk_dcevm-17_0_1-osx-x64-b164.4/Contents/Home/lib/hotswapsudo mv hotswap-agent-1.4.2-SNAPSHOT.jar /Library/Java/JavaVirtualMachines/jbrsdk_dcevm-17_0_1-osx-x64-b164.4/Contents/Home/lib/hotswap/hotswap-agent.jar}}}
21 +{{{curl -OL https://github.com/HotswapProjects/HotswapAgent/releases/download/1.4.2-SNAPSHOT/hotswap-agent-1.4.2-SNAPSHOT.jarsudo mkdir /Library/Java/JavaVirtualMachines/jbrsdk_jcef-17.0.3-x64-b469/Contents/Home/lib/hotswapsudo mv hotswap-agent-1.4.2-SNAPSHOT.jar /Library/Java/JavaVirtualMachines/jbrsdk_jcef-17.0.3-x64-b469/Contents/Home/lib/hotswap/hotswap-agent.jar}}}
22 22  
23 23  === Install in Eclipse 2021-09 ===
24 24  
25 -In "Help > Eclipse Marketplace" install "Java 17 Support for Eclipse 2021-09 (4.21)" (Don't need patch sources). This should not be needed for Eclipse 2021-12.
25 +In "Help > Eclipse Marketplace" install "Java 17 Support for Eclipse 2021-09 (4.21)" (accept default packages). This should not be needed for Eclipse 2021-12.
26 26  
27 27  In "Eclipse > Preferences > Java > Installed JREs" click [Add...] (next) [MacOS X VM] (next)
28 28  
29 - JRE Home: /Library/Java/JavaVirtualMachines/jbrsdk_dcevm-17_0_1-osx-x64-b164.4/Contents/Home
29 + JRE Home: /Library/Java/JavaVirtualMachines/jbrsdk_jcef-17.0.3-x64-b469/Contents/Home
30 30  
31 31   JRE name: jetbrains dcevm 17
32 32  
... ... @@ -34,10 +34,19 @@
34 34  
35 35   [Finish]
36 36  
37 +The "~-~-add-exports" is not required for hotswap but is required to run WebObjects applications in Java 17.
38 +
39 +=== Troubleshooting ===
40 +
41 +a. Some versions of macOS may prevent this java from running because of security quarantining. Try removing quarantine from java folder.
42 +
43 +
37 37  \\
38 38  
39 -{{{}}}
46 +{{{sudo xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/jbrsdk_jcef-17.0.3-x64-b469}}}
40 40  
48 +b. In the "Project" menu, "Build Automatically" should be selected for hot swap to work.
49 +
41 41  = DCEVM and Hotswap Agent for Java 8 =
42 42  
43 43  === Prerequisites ===
DCEVM installer.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +399.3 KB
Content
Eclipse Preferences.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +163.2 KB
Content
JRE settings.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +393.2 KB
Content
Screen Shot 2021-11-12 at 07.44.51.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +196.2 KB
Content