Thanks,
I have a lot of years running linux scripts, so that isn't an issue. The issue is that the script is looking for a file that Maxent isn't producing.
The .bat file itself is fine and will run properly if the file is found. Here's the content of the file
jjava -mx1820m -cp "/Users/xxx/Desktop/GIS/maxent/maxent.jar:/Users/xxx/Desktop/GIS/maxent/maxent.jar" density.Explain -l "/Users/xxx/Desktop/Research/Table analysis/phab_a/Maxent Final replicates/Daphnia_lumholtzi_0.lambdas" "/Users/xxx/Desktop/Research/Table analysis/phab_a/Maxent Final replicates/Daphnia_lumholtzi_0.asc" "/Users/xxx/Desktop/Research/Table analysis/phab_a/Data/no lum phab_x.csv"
When the script is ran here is the result.
Error in file /Users/xxx/Desktop/Research/Table analysis/phab_a/Maxent Final replicates/Daphnia_lumholtzi_0.asc: java.io.FileNotFoundException: /Users/xxx/Desktop/Research/Table analysis/phab_a/Maxent Final replicates/Daphnia_lumholtzi_0.asc (No such file or directory)
Error: Error in file /Users/xxx/Desktop/Research/Table analysis/phab_a/Maxent Final replicates/Daphnia_lumholtzi_0.asc
I'ts looking for a file called Daphnia_lumholtzi_0.asc. Below is a list of the directory (the xxx is the user name, replaced here for privacy reasons) and as you can see, it's not there. Why it's no there is what I'm trying to figure out.
-rw-r--r-- 1 xxx staff 6073 Jan 13 17:30 Daphnia_lumholtzi_0_samplePredictions.csv
-rw-r--r-- 1 xxx staff 937 Jan 13 17:30 Daphnia_lumholtzi_0_sampleAverages.csv
-rw-r--r-- 1 xxx staff 13562 Jan 13 17:30 Daphnia_lumholtzi_0_omission.csv
-rw-r--r-- 1 xxx staff 450 Jan 13 17:30 Daphnia_lumholtzi_0_explain.bat
-rw-r--r-- 1 xxx staff 79721 Jan 13 17:30 Daphnia_lumholtzi_0_backgroundPredictions.csv
-rw-r--r-- 1 xxx staff 4361 Jan 13 17:30 Daphnia_lumholtzi_0.lambdas
-rw-r--r-- 1 xxx staff 48553 Jan 13 17:30 Daphnia_lumholtzi_0.csv
-rw-r--r-- 1 xxx staff 16251 Jan 13 17:31 Daphnia_lumholtzi_0.htmlThanks,
Greg W