Solved

ErrorMessage but I don't know why !

Posted on 2004-04-04
12
174 Views
Last Modified: 2010-03-31
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.
0
Comment
Question by:albusaidi
  • 3
  • 3
  • 3
  • +1
12 Comments
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10754440
Which develpment environment are you using?
0
 

Author Comment

by:albusaidi
ID: 10754489
I used Visual Cafe 4 expert Edition.
0
 

Author Comment

by:albusaidi
ID: 10754725
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.
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
LVL 14

Expert Comment

by:Tommy Braas
ID: 10754866
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>
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10754871
>> 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.
0
 

Author Comment

by:albusaidi
ID: 10754925
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).


0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10754968
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.
0
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 25 total points
ID: 10755107
It would appear that the executable created by Visual Cafe 4 is incompatible with the version of Windows you're using. Visual Cafe 4 is no longer an actively developed product. Your only hope is to see if there might be an update or something available for Visual Cafe 4 addressing your specific problem.
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 25 total points
ID: 10755177
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10756704
Or if you must compile to an executable and it doesn't have a gui, you can use this:

http://gcc.gnu.org/java/
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
hibernate jars 4 45
eclipse buid path vs tomcat lib path 10 34
maven module vs maven project 3 47
learn programming 8 42
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question