Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
comsolbatch javafile(.java): error in reading a txt file
Posted 01.12.2015, 08:14 GMT-5 API, Simulation Apps, Cluster & Cloud Computing Version 5.2 3 Replies
Please login with a confirmed email address before reporting spam
I met a error when i try to use comsolbatch with javafile(.class), and i really don't know how to solve it.
At first i made a .java code file just by a comsol model which can be ran succeefully in comsol. then i translated it to .class file without any problem. but when i use comsolbatch comand, there is error as below:
%%Security preference 'File system access' does not allow 'read' access to 'the path of the txt file'.%%
At the begining I thought that maybe the reason is the seeting of java environment or my computer system. So i tried to read this txt file just by java code, the txt file was read without any problem.
Maybe there is a problem in comsolbatch or something else, but i really don't know what to do. Does anyone know how to slove it. Please free feel to give me your suggeation or opinion.
At first i made a .java code file just by a comsol model which can be ran succeefully in comsol. then i translated it to .class file without any problem. but when i use comsolbatch comand, there is error as below:
%%Security preference 'File system access' does not allow 'read' access to 'the path of the txt file'.%%
At the begining I thought that maybe the reason is the seeting of java environment or my computer system. So i tried to read this txt file just by java code, the txt file was read without any problem.
Maybe there is a problem in comsolbatch or something else, but i really don't know what to do. Does anyone know how to slove it. Please free feel to give me your suggeation or opinion.
3 Replies Last Post 18.04.2017, 17:31 GMT-4