Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

comsolbatch javafile(.java): error in reading a txt file

$
0
0
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.

Viewing all articles
Browse latest Browse all 428

Trending Articles



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