Wrote /root/JavaX-Caches/tmp_552194766/main.java - 22415 bytes (written=22415, should be 22415) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_851532260 /root/JavaX-Caches/tmp_552194766/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_552194766/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_552194766/main.java:12: error: class, interface, or enum expected sclass JCTermModule extends DynModule ^ /root/JavaX-Caches/tmp_552194766/main.java:18: error: class, interface, or enum expected final static int SHELL=0, SFTP=1, EXEC=2; ^ /root/JavaX-Caches/tmp_552194766/main.java:20: error: class, interface, or enum expected transient Thread thread=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:22: error: class, interface, or enum expected int mode=SHELL; ^ /root/JavaX-Caches/tmp_552194766/main.java:24: error: class, interface, or enum expected String xhost="127.0.0.1"; ^ /root/JavaX-Caches/tmp_552194766/main.java:25: error: class, interface, or enum expected int xport=0; ^ /root/JavaX-Caches/tmp_552194766/main.java:26: error: class, interface, or enum expected boolean xforwarding=false; ^ /root/JavaX-Caches/tmp_552194766/main.java:27: error: class, interface, or enum expected String user=""; ^ /root/JavaX-Caches/tmp_552194766/main.java:28: error: class, interface, or enum expected String host="127.0.0.1"; ^ /root/JavaX-Caches/tmp_552194766/main.java:30: error: class, interface, or enum expected String proxy_http_host=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:31: error: class, interface, or enum expected int proxy_http_port=0; ^ /root/JavaX-Caches/tmp_552194766/main.java:33: error: class, interface, or enum expected String proxy_socks5_host=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:34: error: class, interface, or enum expected int proxy_socks5_port=0; ^ /root/JavaX-Caches/tmp_552194766/main.java:36: error: class, interface, or enum expected transient JSchSession jschsession=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:37: error: class, interface, or enum expected transient Proxy proxy=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:39: error: class, interface, or enum expected int compression=0; ^ /root/JavaX-Caches/tmp_552194766/main.java:41: error: class, interface, or enum expected transient Splash splash=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:43: error: class, interface, or enum expected transient JCTermSwing term=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:44: error: class, interface, or enum expected transient Connection connection=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:46: error: class, interface, or enum expected transient Channel channel=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:48: error: class, interface, or enum expected String configName = "default"; ^ /root/JavaX-Caches/tmp_552194766/main.java:50: error: class, interface, or enum expected JComponent visualize() { ^ /root/JavaX-Caches/tmp_552194766/main.java:51: error: <identifier> expected ret term = swingNu(JCTermSwing.class); ^ /root/JavaX-Caches/tmp_552194766/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:54: error: class, interface, or enum expected void enhanceFrame(final JInternalFrame f) { ^ /root/JavaX-Caches/tmp_552194766/main.java:56: error: class, interface, or enum expected f.setJMenuBar(mb); ^ /root/JavaX-Caches/tmp_552194766/main.java:58: error: class, interface, or enum expected ComponentAdapter l = new ComponentAdapter(){ ^ /root/JavaX-Caches/tmp_552194766/main.java:59: error: class, interface, or enum expected public void componentResized(ComponentEvent e){ ^ /root/JavaX-Caches/tmp_552194766/main.java:61: error: class, interface, or enum expected int cw=f.getWidth(); ^ /root/JavaX-Caches/tmp_552194766/main.java:62: error: class, interface, or enum expected int ch=f.getHeight(); ^ /root/JavaX-Caches/tmp_552194766/main.java:63: error: class, interface, or enum expected int cwm=f.getWidth()-cp.getWidth(); ^ /root/JavaX-Caches/tmp_552194766/main.java:64: error: class, interface, or enum expected int chm=f.getHeight()-cp.getHeight(); ^ /root/JavaX-Caches/tmp_552194766/main.java:65: error: class, interface, or enum expected cw-=cwm; ^ /root/JavaX-Caches/tmp_552194766/main.java:66: error: class, interface, or enum expected ch-=chm; ^ /root/JavaX-Caches/tmp_552194766/main.java:67: error: class, interface, or enum expected term.setSize(cw, ch); ^ /root/JavaX-Caches/tmp_552194766/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:70: error: class, interface, or enum expected f.addComponentListener(l); ^ /root/JavaX-Caches/tmp_552194766/main.java:72: error: class, interface, or enum expected applyConfig(configName); ^ /root/JavaX-Caches/tmp_552194766/main.java:74: error: class, interface, or enum expected openSession(); ^ /root/JavaX-Caches/tmp_552194766/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:77: error: class, interface, or enum expected public void kick(){ ^ /root/JavaX-Caches/tmp_552194766/main.java:79: error: class, interface, or enum expected this.thread.start(); ^ /root/JavaX-Caches/tmp_552194766/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:82: error: class, interface, or enum expected public void run(){ ^ /root/JavaX-Caches/tmp_552194766/main.java:84: error: class, interface, or enum expected while(thread!=null){ ^ /root/JavaX-Caches/tmp_552194766/main.java:87: error: class, interface, or enum expected try{ ^ /root/JavaX-Caches/tmp_552194766/main.java:89: error: class, interface, or enum expected String _host = promptDestination(term, destinations); ^ /root/JavaX-Caches/tmp_552194766/main.java:90: error: class, interface, or enum expected destination = _host; ^ /root/JavaX-Caches/tmp_552194766/main.java:91: error: class, interface, or enum expected if(_host==null){ ^ /root/JavaX-Caches/tmp_552194766/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:95: error: class, interface, or enum expected _host=_host.substring(_host.indexOf('@')+1); ^ /root/JavaX-Caches/tmp_552194766/main.java:96: error: class, interface, or enum expected if(_host==null||_host.length()==0){ ^ /root/JavaX-Caches/tmp_552194766/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:102: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:106: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:108: error: class, interface, or enum expected host=_host; ^ /root/JavaX-Caches/tmp_552194766/main.java:109: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:112: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:117: error: class, interface, or enum expected jschsession=JSchSession.getSession(user, null, host, port, ui, proxy); ^ /root/JavaX-Caches/tmp_552194766/main.java:118: error: class, interface, or enum expected setCompression(compression); ^ /root/JavaX-Caches/tmp_552194766/main.java:120: error: class, interface, or enum expected Configuration conf = JCTermSwing.getCR().load(configName); ^ /root/JavaX-Caches/tmp_552194766/main.java:121: error: class, interface, or enum expected conf.addDestination(destination); ^ /root/JavaX-Caches/tmp_552194766/main.java:122: error: class, interface, or enum expected JCTermSwing.getCR().save(conf); ^ /root/JavaX-Caches/tmp_552194766/main.java:123: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:127: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:130: error: class, interface, or enum expected OutputStream out=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:131: error: class, interface, or enum expected InputStream in=null; ^ /root/JavaX-Caches/tmp_552194766/main.java:133: error: class, interface, or enum expected if(mode==SHELL){ ^ /root/JavaX-Caches/tmp_552194766/main.java:135: error: class, interface, or enum expected if(xforwarding){ ^ /root/JavaX-Caches/tmp_552194766/main.java:137: error: class, interface, or enum expected jschsession.getSession().setX11Port(xport+6000); ^ /root/JavaX-Caches/tmp_552194766/main.java:138: error: class, interface, or enum expected channel.setXForwarding(true); ^ /root/JavaX-Caches/tmp_552194766/main.java:139: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:142: error: class, interface, or enum expected in=channel.getInputStream(); ^ /root/JavaX-Caches/tmp_552194766/main.java:144: error: class, interface, or enum expected channel.connect(); ^ /root/JavaX-Caches/tmp_552194766/main.java:145: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:149: error: class, interface, or enum expected in=new PipedInputStream(); ^ /root/JavaX-Caches/tmp_552194766/main.java:151: error: class, interface, or enum expected channel=jschsession.getSession().openChannel("sftp"); ^ /root/JavaX-Caches/tmp_552194766/main.java:153: error: class, interface, or enum expected channel.connect(); ^ /root/JavaX-Caches/tmp_552194766/main.java:155: error: class, interface, or enum expected (new Sftp((ChannelSftp)channel, (InputStream)(new PipedInputStream( ^ /root/JavaX-Caches/tmp_552194766/main.java:158: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:160: error: class, interface, or enum expected final OutputStream fout=out; ^ /root/JavaX-Caches/tmp_552194766/main.java:161: error: class, interface, or enum expected final InputStream fin=in; ^ /root/JavaX-Caches/tmp_552194766/main.java:162: error: class, interface, or enum expected final Channel fchannel=channel; ^ /root/JavaX-Caches/tmp_552194766/main.java:164: error: class, interface, or enum expected connection=new Connection(){ ^ /root/JavaX-Caches/tmp_552194766/main.java:165: error: class, interface, or enum expected public InputStream getInputStream(){ ^ /root/JavaX-Caches/tmp_552194766/main.java:167: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:169: error: class, interface, or enum expected public OutputStream getOutputStream(){ ^ /root/JavaX-Caches/tmp_552194766/main.java:171: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:173: error: class, interface, or enum expected public void requestResize(Term term){ ^ /root/JavaX-Caches/tmp_552194766/main.java:176: error: class, interface, or enum expected int r=term.getRowCount(); ^ /root/JavaX-Caches/tmp_552194766/main.java:177: error: class, interface, or enum expected ((ChannelShell)fchannel).setPtySize(c, r, c*term.getCharWidth(), ^ /root/JavaX-Caches/tmp_552194766/main.java:179: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:182: error: class, interface, or enum expected public void close(){ ^ /root/JavaX-Caches/tmp_552194766/main.java:184: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:186: error: class, interface, or enum expected setModuleName(user+"@"+host+(port!=22 ? (":"+port) : "")); ^ /root/JavaX-Caches/tmp_552194766/main.java:187: error: class, interface, or enum expected term.requestFocus(); ^ /root/JavaX-Caches/tmp_552194766/main.java:188: error: class, interface, or enum expected term.start(connection); ^ /root/JavaX-Caches/tmp_552194766/main.java:189: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_552194766/main.java:192: error: class, interface, or enum expected } ^ 100 errors only showing the first 100 errors, of 371 total; use -Xmaxerrs if you would like to see more