Hi All,
I have installed a software in a terminal and can be invoked using the following cmd
$ tclsh myinstalledsoftware.tcl inputfile
This has Tcl/Tk dependency, so installed latest version of it in my home directory.
I have set alias for the 'tclsh' in my .bashrc file which points to Tcl/Tk installed in my directory
I can run the same cmd in the terminal with no issues.
I have issues when i try to run the cmd from
JAVA.
I'm using the following code to execute
I get the following error.
Tcl initialization error:
Can't find a usable init.tcl in the following directories:
{list of dir}
/usr/share/tcl8.4/init.tcl: version conflict for package "Tcl": have 8.5.8, need exactly 8.4
version conflict for package "Tcl": have 8.5.8, need exactly 8.4
while executing
"package require -exact Tcl 8.4"
(file "/usr/share/tcl8.4/init.tcl" line 19)
invoked from within
"source /usr/share/tcl8.4/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
This probably means that Tcl wasn't installed properly.
Any suggestions are greatly helpful
Thank You!