binhex 842 Posted January 5, 2018 Share Posted January 5, 2018 (edited) Overview: Support for Docker image arch-intellij in the binhex repo. Application: IntelliJ - https://www.jetbrains.com/idea/ Docker Hub: https://hub.docker.com/r/binhex/arch-intellij/ GitHub: https://github.com/binhex/arch-intellij Documentation: https://github.com/binhex/documentation For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here If you appreciate my work, then please consider buying me a beer Edited May 9, 2019 by binhex Quote Link to post
binhex 842 Posted January 5, 2018 Author Share Posted January 5, 2018 Please note this Docker Image is large due to the size of IntelliJ, please ensure you have at least 500MB of free space in your loopback mounted Docker Image before download. Quote Link to post
xxlbug 1 Posted January 5, 2018 Share Posted January 5, 2018 Wanted to give it a try, but get the following error on startup (unraid 6.4.19, docker has own ip): Internal error. Please report to http://jb.gg/ide/critical-startup-errors java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:148) at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:356) at sun.java2d.SurfaceDataProxy.updateSurfaceData(SurfaceDataProxy.java:498) at sun.java2d.SurfaceDataProxy.replaceData(SurfaceDataProxy.java:455) at sun.java2d.SurfaceData.getSourceSurfaceData(SurfaceData.java:233) at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:566) at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67) at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014) at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296) at com.sun.java.swing.plaf.gtk.GTKEngine.paintCachedImage(GTKEngine.java:555) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackgroundImpl(GTKPainter.java:291) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:280) at javax.swing.plaf.synth.SynthButtonUI.paintBackground(SynthButtonUI.java:299) at javax.swing.plaf.synth.SynthButtonUI.update(SynthButtonUI.java:254) at javax.swing.JComponent.paintComponent(JComponent.java:780) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent._paintImmediately(JComponent.java:5158) at javax.swing.JComponent.paintImmediately(JComponent.java:4969) at javax.swing.RepaintManager$4.run(RepaintManager.java:854) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:346) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637) at com.intellij.idea.Main.showMessage(Main.java:189) at com.intellij.idea.Main.showMessage(Main.java:148) at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:166) at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:423) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:734) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:456) at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1696) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1645) at com.intellij.ui.AppUIUtil.showPrivacyPolicyAgreement(AppUIUtil.java:321) at com.intellij.ui.AppUIUtil.lambda$showPrivacyPolicy$2(AppUIUtil.java:247) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) found this on the intellij bug tracker: https://youtrack.jetbrains.com/issue/IDEA-124756 Which java version do you use? Quote Link to post
binhex 842 Posted January 5, 2018 Author Share Posted January 5, 2018 56 minutes ago, xxlbug said: Which java version do you use? its jdk8-openjdk 8.u144 and whilst OpenJDK is not officially supported by intelliJ (supported is Oracle JDK) it seems to be the recommended Java version to use on Arch Linux. I've seen the exact error you are referring to, try closing the error message, then right click the desktop and select "IntelliJ" then Accept the licence and you should be good, basically the bug seems to be triggered by the accept window for the licence, odd but true, so you should only have this issue once, im going to look into stopping the accept licence message some how as a work around. Quote Link to post
xxlbug 1 Posted January 6, 2018 Share Posted January 6, 2018 I got it working, nice job! Thank you for doing the heavy lifting for us :-) For the error: I closed the error Message, but never got IntelliJ to run with the right click menu (the mouse pointer just spins). I got it working by restarting the container and starting the vnc connection before intellij was starting up -> no error, just accept the license and i was good to go. Seems like there is a problem with java without a "real" screen going. Improvement Idea: If i use the vnc connection, i need to press the "connect" button in the vnc browser tab -> maybe you could configure it to autoconnect? Quote Link to post
LeVerbeux 0 Posted February 16, 2018 Share Posted February 16, 2018 Hi, I've never used docker before so my question might be a little bit weird. I would like to know if it was possible to use Ultimate Inteliji Edition (with the correct licence) instead of the current one (Community Edition if I'm right). I don't know if this can be done easily (just some changes in the docker image or building an all new Docker). Thank you for your answer. Quote Link to post
natea 0 Posted November 14, 2018 Share Posted November 14, 2018 I would agree with xxlbug that it would be great if it wasn't necessary to click on the "Connect" button in VNC, but that it would auto-connect to the IntelliJ IDE environment. Thanks again for making this Docker image! Quote Link to post
binhex 842 Posted December 3, 2018 Author Share Posted December 3, 2018 On 11/14/2018 at 2:23 PM, natea said: I would agree with xxlbug that it would be great if it wasn't necessary to click on the "Connect" button in VNC, but that it would auto-connect to the IntelliJ IDE environment. Thanks again for making this Docker image! you can prevent the connect option popping up by appending autoconnect=1 to the url, example:- http://192.168.1.10:6085/vnc.html?resize=remote&host=192.168.1.10&port=6085&autoconnect=1 Quote Link to post
fortegs 0 Posted June 9, 2020 Share Posted June 9, 2020 Is there anyway i can change the resolution of this docker? Quote Link to post
binhex 842 Posted June 10, 2020 Author Share Posted June 10, 2020 21 hours ago, fortegs said: Is there anyway i can change the resolution of this docker? yes, change the resolution of your screen - novnc runs at whatever resolution you have set. Quote Link to post
Celsiuss 0 Posted August 30, 2020 Share Posted August 30, 2020 How do I put files and stuff on a share? I see there are a couple of mountpooints in the template, but I can't figure out how to use them from within the container. Quote Link to post
neupsh 0 Posted November 24, 2020 Share Posted November 24, 2020 Hello @binhex do you have any plans to use https://github.com/JetBrains/projector-server instead of novnc? Something like this: Quote Link to post
binhex 842 Posted November 25, 2020 Author Share Posted November 25, 2020 12 hours ago, neupsh said: Hello @binhex do you have any plans to use https://github.com/JetBrains/projector-server instead of novnc? Something like this: hmm thats interesting!, but sadly right now i dont have the time to investigate it, novnc in my opinion works quite well, even over a slow remote link so for now i am satisfied that novnc is still an acceptable connection method, but i may come back and take a look at Projector in the future. 1 Quote Link to post
tjb_altf4 97 Posted February 17 Share Posted February 17 @binhex container is no working correctly, I was using it without issue last year. VNC part is working and gets to the desktop, but IntelliJ is failing to start and upon trying to force a start from desktop context menu I see this error: I nuked app data and did a forced pull to ensure everything was right, but still seeing the issue. Seems like a dependency that has changed ? 2021-02-18 04:31:36,583 DEBG 'start' stderr output: tint2: Kernel uevent interface initialized... 2021-02-18 04:31:36,584 DEBG 'start' stderr output: tint2: systray window 8388621 [1;32mtint2: systray started[0m 2021-02-18 04:31:40,336 DEBG 'start' stderr output: sh: gsimplecal: command not found 2021-02-18 04:31:40,374 DEBG 'start' stderr output: sh: gsimplecal: command not found Quote Link to post
binhex 842 Posted February 17 Author Share Posted February 17 25 minutes ago, tjb_altf4 said: VNC part is working and gets to the desktop, but IntelliJ is failing to start and upon trying to force a start from desktop context menu I see this error: thanks for the heads up, its now fixed, please pull down latest image just built. Quote Link to post
tjb_altf4 97 Posted February 17 Share Posted February 17 31 minutes ago, binhex said: thanks for the heads up, its now fixed, please pull down latest image just built. You're a machine! Thanks @binhex, I'm up and running again 1 Quote Link to post
16 posts in this topic Last Reply
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.