How to hard code the absolute path in my java program?
Posted on 2004-10-21
To make question clear here -
Machine - windows platform (os - win2000)
I don't have administrator privilege. I can't install or alter anything else.
I run my java program by using third party java application tools (everything is ok!!!).
If I want to run a java program in a command line i.e. I intend not to use that third party java application tools to run my java program, then I got the message said "java runtime environment not found" and "no java" command something like that. Obviously, the environmental variable and the path linking are not configured properly.
I would wonder that is it possible to write an absolute path in my java program or any idea how to get around this? Then, my java program can run in a command line :(