Developent IDE GCodeSender?
- This topic has 4 replies, 2 voices, and was last updated 10 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Shop › Forum › Everything Else › Developent IDE GCodeSender?
I want do it simple modification to this program (i not a programmer but i can try), can you help me to setup a develoment enviroment (IDE) ? thanx and sorry for my english i speak spanish.
What do you want to do to the IDE?
Thank for quick response!.
The compilated jar not work on LINUX (not find any serial port). I review the source code and find
public void DetectSerialPorts() {
if(System.getProperty(“os.name”).equals(“Mac OS X”)){
portsDetected = SerialPortList.getPortNames(“/dev/”);
} else {
portsDetected = SerialPortList.getPortNames(“COM”);
}
}
i think the problem is there.
thxs
As far as I know you’re the first person to try it on Linux. Hm.
if(System.getProperty(“os.name”).equals(“Mac OS X”)){
is definitely the problem.
String OS = System.getProperty(“os.name”).toLowerCase();
if(OS.indexOf(“nix”) >= 0 || OS.indexOf(“nux”) >= 0 || OS.indexOf(“aix”) > 0 ) {
// is Linux
} else if(OS.indexOf(“mac”)){
// is Mac
} else {
// assume windows, even though it could be solaris
}
would work better.
Fix comitted in github.