albusaidi
asked on
ErrorMessage but I don't know why !
Hi ..
I write a small program in Java and when I produce execution file *.exe and try to run it is give me this windows message.
==========================
Application Error
the instruction at "0x77f67f26" referenced memory at "0x000000000" . the memory could not be written.
==========================
by the way if I run the program in the developer tool I will not get any error.but if I produce execution file ( to get stand alone application) and run it I will get this message.
I write a small program in Java and when I produce execution file *.exe and try to run it is give me this windows message.
==========================
Application Error
the instruction at "0x77f67f26" referenced memory at "0x000000000" . the memory could not be written.
==========================
by the way if I run the program in the developer tool I will not get any error.but if I produce execution file ( to get stand alone application) and run it I will get this message.
Which develpment environment are you using?
ASKER
I used Visual Cafe 4 expert Edition.
ASKER
I tried now Jbulilder 5 but I don't now how to produce *.exe file ....
usually when you execute the project you produce the exeutable file but in the J bulider is not preduce any executable file.
any one now ... may the problem on the message from the tool I don't now.
usually when you execute the project you produce the exeutable file but in the J bulider is not preduce any executable file.
any one now ... may the problem on the message from the tool I don't now.
I would suggest that you try to execute the compiled java classes before you do anything else.
Compile your java source code files by using javac from the command line:
javac <your java source file>
The you can run the class containing your main() method by:
java -cp . <your main class here>
Compile your java source code files by using javac from the command line:
javac <your java source file>
The you can run the class containing your main() method by:
java -cp . <your main class here>
>> the instruction at "0x77f67f26" referenced memory at "0x000000000" . the memory could not be written
This sounds more like an M$ Windoce bug. It happens very often on many systems as far as I have seen - generally happens after you have some upgrades (hardware or software installation, etc) - because some versions of it don't seem to adapt well to changes in configuration, etc.
This sounds more like an M$ Windoce bug. It happens very often on many systems as far as I have seen - generally happens after you have some upgrades (hardware or software installation, etc) - because some versions of it don't seem to adapt well to changes in configuration, etc.
ASKER
As I mention before If I run this programe in Visual Cafe or JBuilder the program will work but when I try to make *.exe file ( stand alone Application) the message will appear when I execute this file(exe).
Yes, but what I'm trying to tell you is - that message also comes in various other applications as well and is majorly an OS bug - because it tries to access an illegal memory location while paging.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or if you must compile to an executable and it doesn't have a gui, you can use this:
http://gcc.gnu.org/java/
http://gcc.gnu.org/java/