|To clarify I don't allow dos commands to be run by students, which is the issue. |
the bat file i have runs the following code:
@start bin\javaw -classpath lib\classes.zip;-Dsun.java2d.noddraw=true -jar at3.jar
which when ran tries to open the command prompt, but as I've disabled access to the command prompt they get a message informing that the command prompt is disabled.
I've tried to converting the bat file to an executable file but it still tries to open the comand prompt. With the software (maths program) there isn't a file that loads up the program that doesn't use the command prompt to load the program.
I want users to manually click on the program shortcut to load it. But as there is only a bat file it won't work. I don't know how to make the java program load without using dos, does java have a way of loading it's files without resorting to using dos to make it work?
I don't know much about java programs but I assumed it wouldn't necessarily need a bat file to make it work .