posted 20 years ago
I build an install program by InstallAnyWhere, it outputs two version: VM and NoVM.
The NoVM version works fine on my machine, but the VM version seems have some problems in executing the program:
1: It throw an NoSuchFieldException in the following line:
statusField.setForeground(Color.RED);
It seems can't recognize 'Color.RED'
2: It does not function correctly. I use some class from java.net package, and these function was not performed.
I guess that was the problem of the JRE provided by the InstallAnyWhere.
Who can give me a solution ?