I configured the debug with the path of smartclient.exe (use via wine), the build works, only the debug that gives a permission error in java.
Iniciando TOTVS Application
org.eclipse.core.runtime.CoreException: Exception occurred executing command line.
org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:852)
org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:821)
com.totvs.tds.debug.launcher.AdvPLLaunchDelegate.internalLaunch(AdvPLLaunchDelegate.java:361)
com.totvs.tds.debug.launcher.AdvPLLaunchDelegate.launch(AdvPLLaunchDelegate.java:85)
...
Causado por
Cannot run program "/home/eduardo/Área de Trabalho/Acessos a Clientes/smartclient UNS/SmartClient.exe" (in directory "/home/eduardo/Área de Trabalho/Acessos a Clientes/smartclient UNS"): error=13, Permissão negada
java.io.IOException: Cannot run program "/home/eduardo/Área de Trabalho/Acessos a Clientes/smartclient UNS/SmartClient.exe" (in directory "/home/eduardo/Área de Trabalho/Acessos a Clientes/smartclient UNS"): error=13, Permissão negada
java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
java.lang.Runtime.exec(Runtime.java:620)
org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:848)
org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:821)
com.totvs.tds.debug.launcher.AdvPLLaunchDelegate.internalLaunch(AdvPLLaunchDelegate.java:361)
com.totvs.tds.debug.launcher.AdvPLLaunchDelegate.launch(AdvPLLaunchDelegate.java:85)
...
Causado por
error=13, Permissão negada
java.io.IOException: error=13, Permissão negada
java.lang.UNIXProcess.forkAndExec(Native Method)
java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
java.lang.ProcessImpl.start(ProcessImpl.java:134)
java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
java.lang.Runtime.exec(Runtime.java:620)
org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:848)
org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:821)
com.totvs.tds.debug.launcher.AdvPLLaunchDelegate.internalLaunch(AdvPLLaunchDelegate.java:361)
com.totvs.tds.debug.launcher.AdvPLLaunchDelegate.launch(AdvPLLaunchDelegate.java:85)
...