Recorder.sh dont run from ubuntu command line

Running recorder.sh from stand alone installation dont run, addign -verbose to JAVA_OPTS last lines I can see are:
[Loaded scala.swing.UIElement$$anon$2 from file:/home/jsouto/Software/gatling-charts-highcharts-bundle-3.7.6/lib/scala-swing_2.13-3.0.0.jar]
[Loaded scala.swing.Component$$anon$12 from file:/home/jsouto/Software/gatling-charts-highcharts-bundle-3.7.6/lib/scala-swing_2.13-3.0.0.jar]
[Loaded scala.swing.Component$$anon$13 from file:/home/jsouto/Software/gatling-charts-highcharts-bundle-3.7.6/lib/scala-swing_2.13-3.0.0.jar]
[Loaded io.gatling.recorder.ui.swing.frame.ConfigurationFrame$$anonfun$1 from file:/home/jsouto/Software/gatling-charts-highcharts-bundle-3.7.6/lib/gatling-recorder-3.7.6.jar]
[Loaded scala.swing.Component$keys$ from file:/home/jsouto/Software/gatling-charts-highcharts-bundle-3.7.6/lib/scala-swing_2.13-3.0.0.jar]
[Loaded scala.swing.Component$keys$$anon$11 from file:/home/jsouto/Software/gatling-charts-highcharts-bundle-3.7.6/lib/scala-swing_2.13-3.0.0.jar]
[Loaded io.gatling.recorder.ui.swing.frame.ConfigurationFrame$$anonfun$2 from file:/home/jsouto/Software/gatling-charts-highcharts-bundle-3.7.6/lib/gatling-recorder-3.7.6.jar]

After that recorder.sh script is blocked waiting forever…
Any one can help me? Thank you

Your Java installation is probably broken. Try un-installing and reinstalling it.
In particular:

  • make sure to install at least Java 8
  • make sure to not install a headless JRE that would miss the graphic libs
  • make sure to install a package from a professional vendor, such as Azul Zulu, and not apt-get.

Thank you, I solved the problem switching from java 8 to java 11.

Now I have a new problem when I start a record in http proxy mode this error message appears:
Exception in thread “AWT-EventQueue-0” java.security.PrivilegedActionException: java.security.PrivilegedActionException: java.net.BindException: La dirección ya se está usando
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.security.PrivilegedActionException: java.net.BindException: La dirección ya se está usando
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
… 9 more
Caused by: java.net.BindException: La dirección ya se está usando
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:459)
at java.base/sun.nio.ch.Net.bind(Net.java:448)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)

It looks like an address is already in use but I dont know wich.

The problem seems to be the port, I have changed 8000 to 8001 and it works.
I have another process listening at 8000