Git Product home page Git Product logo

Comments (6)

im-pro-at avatar im-pro-at commented on July 24, 2024

Just ignor it in the first run ;-)
Sometimes it also can happen that there are problems with the user profile ... Therefor use the import and Export function under Settings
If the program did not start there is sure an other problem
Use java -jar JARNAME
To run the program from shell there you should see a error message which you can post in another issue
Good luck

from cncgcodecontroller.

jamacias avatar jamacias commented on July 24, 2024

Hello! This software is a really great work, but I'm having problems when executing the .jar file we have to download. It always give me the message "Could not load Settings", so it doesn't run at all. I mean that ignoring the message is not enough... I have the latest Java version.
What am I missing? Any ideas on how to fix it? Other .jar files, of other programs, work with double-click, but this one doesn't :S

Thank you

from cncgcodecontroller.

im-pro-at avatar im-pro-at commented on July 24, 2024

I will work on a better error log system ... but it will take some time ...

In the meantime use commandline

"java -jar NAMEOFFILE.jar"

there you can read the error
and post it here!

from cncgcodecontroller.

jamacias avatar jamacias commented on July 24, 2024

Thank you for your time. When we try that, we get the same message, and in the command line we get this:

C:\Users\MyUser\Downloads\cncgcodecontroller-4.3\cncgcodecontroller-4.3>java -ja
r cnc-gcode-controller_libs.jar
may 31, 2014 9:15:15 PM cnc.gcode.controller.Database load
Grave: null
java.io.FileNotFoundException: C:\Users\Javier.cnccgcodecontroller\Settings.ois
(El sistema no puede encontrar la ruta especificada)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at cnc.gcode.controller.Database.load(Database.java:113)
at cnc.gcode.controller.MainForm.(MainForm.java:27)
at cnc.gcode.controller.CNCGCodeController.main(CNCGCodeController.java:
172)

Stable Library

Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Exception in thread "main" java.lang.NoSuchMethodError: gnu.io.RXTXCommDriver.ge
tPortIdentifiers()Ljava/util/Set;
at gnu.io.NRSerialPort.getAvailableSerialPorts(NRSerialPort.java:116)
at cnc.gcode.controller.Communication.getPortsNames(Communication.java:4
1)
at cnc.gcode.controller.MainForm.(MainForm.java:51)
at cnc.gcode.controller.CNCGCodeController.main(CNCGCodeController.java:
172)

Note: We have also tried it in our C:\ root folder, but nothing changes.

Hope this helps you to fix it.
Thank you.

from cncgcodecontroller.

jamacias avatar jamacias commented on July 24, 2024

Hello again,

I am happy to say that after a few days trying it, it has finally worked! but in another computer. Now it's working on Windows XP with the latest version of Java. It should work on this one (Windows 7 and the latest version as well) but I'll be investigating to find out why it isn't working.

Thank you, the program works perfectly!

from cncgcodecontroller.

im-pro-at avatar im-pro-at commented on July 24, 2024

Hello

The Problem is the ComPort driver!

What Processor are you have on Windows 7?
Java do not support ComPort so its an library compiled for many Systems
MAC, Windows (32,64), Linux(32,64,ARM ....)
Can also be a problem with rights because the library have to be executed and this can be a security problem.
In this project I use nrjavaserial for ComPort and its packed into the jar file.

In the next version this problem should not stop the program from running ;-)
Stay tuned!

greetings Patrick

from cncgcodecontroller.

Related Issues (20)

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.