Giter VIP home page Giter VIP logo

cg-local-app's Introduction

CG Local Application

Build Status Latest release Total downloads

This application should be used together with cg-local-ext. The application watches the selected file and sends the source code to the browser extension when the file is changed. It also makes it easy to configure the CG Local's settings. See the CodinGame topic for more information.

Installation

  1. Download the latest jar file from the releases page.
  2. Run the application with java -jar <jar file>, where <jar file> is the location of the jar file you just downloaded.

cg-local-app's People

Contributors

jmerle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cg-local-app's Issues

no main manifest attribute, in build/libs/cg-local-app-1.0.1.jar

First, I have problem when running provided jar (https://jaspervanmerle.com/cg-local/files/CG%20Local.jar)

$ java -jar CG\ Local.jar
Error: Could not find or load main class fxlauncher.Launcher

Which seem reasonable since I am using NixOS, the error could came from different java path.

I then try to build it manually.

$ gradle build                                                                                                    
> Task :compileKotlin UP-TO-DATE                                                                                                                                                                      
> Task :compileJava NO-SOURCE                                                                                                                                                                         
> Task :processResources UP-TO-DATE                                                                                                                                                                   
> Task :classes UP-TO-DATE                                                                                                                                                                            
> Task :jar UP-TO-DATE                                                                                                                                                                                
> Task :startScripts UP-TO-DATE
> Task :distTar UP-TO-DATE                                                                                                                                                                            
> Task :distZip UP-TO-DATE                                                                                                                                                                            
> Task :assemble UP-TO-DATE                                                                                                                                                                           
> Task :compileTestKotlin NO-SOURCE
> Task :compileTestJava NO-SOURCE
> Task :processTestResources NO-SOURCE
> Task :testClasses UP-TO-DATE
> Task :test NO-SOURCE
> Task :check UP-TO-DATE
> Task :build UP-TO-DATE                                                                                                                                                                              
                                                                                                                                                                                                      
BUILD SUCCESSFUL in 4s
6 actionable tasks: 6 up-to-date

but when I try to run the jar file it give me error.

$ java -jar build/libs/cg-local-app-1.0.1.jar                                                                     
no main manifest attribute, in build/libs/cg-local-app-1.0.1.jar

What am I missing? I am not familiar with kotlin/java ecosystem, I don't know what to try next.

App does not start with Win10 1809 / JRE1.8.0_202

Since today i am no longer able to start the app, even starting directly after a reboot i get:

"Only one istance of CG local can be running at a time. Please use the running instance."

So, of course some things changed on my system since it was working yesterday which could be a cause:

  • Updated JRE from 1.8.0_187 to 1.8.0_202
  • Updated Windows 10 with Feature Update 1809

I've checked both the Ports 50005 and 53135 that no other app is listening on them. Running with a Administrative Account does not help, either.

I am not able to install JDK8/Gradle to compile the app myself, are there any other ways to help debugging? Enable verbose logging?

NoClassDefFoundError: javax/xml/bind/JAXB

I just downloaded the app and when i start it with java -jar "CG Local.jar" i get the following exception

Exception in thread "FXLauncher-Thread" java.lang.NoClassDefFoundError: javax/xml/bind/JAXB
at fxlauncher.AbstractLauncher.syncManifest(AbstractLauncher.java:210)
at fxlauncher.AbstractLauncher.updateManifest(AbstractLauncher.java:92)
at fxlauncher.Launcher.lambda$start$0(Launcher.java:137)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXB
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 4 more

And the application freezes with spinning dots

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.