Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Running CCS from a Debug Server Script - Class not found

$
0
0

Hi Chris,

If you are going to run DSS scripts without using the dss.bat file, it is important that you look at what that batch file does so you can set up your environment accordingly. Most DSS documentation assumes you are running your scripts via the batch file. If you can't use the dss.bat file because you are not using javascript, then you need to set up the environment yourself (like that link for setting up the environment when using jython). Same goes for if you are using javascript but don't want to use the dss.bat file for whatever reason.

In older version of CCS, it was possible to set up your classpaths with the necessary jar files to be able to not only run DSS scripts, but also get the CCS Server. This has changed recently. You now need to launch the script using the headless script launcher. You can still launch your DSS script the old way but the one thing you do lose is the ability to launch CCS from DSS. Hence I recommend you launch the script using the headless script launcher like the batch file does.

[quote user="c0l0jar0"]It says "any language that supports importing and using Java classes can be used with DSS"[/quote]

Remember that trying to get the CCS Server to launch the CCS GUI is NOT DSS. DSS is scripting access to the debug server without the GUI.

Thanks

ki


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>