Sub Process_Globals
Dim serial As Serial
End Sub
Sub AppStart (Args() As String)
serial.Initialize("")
For Each port As String In serial.ListPorts
Log(port)
Next
End Sub
No logs has been printed. I used "java -jar app.java" in Linux
You may need to run the app as root. If that works and you don't want to run your app as root just to get to the serial ports, you need to add your user to the appropriate group (which may be distro specific).