Solved

ErrorMessage but I don't know why !

Posted on 2004-04-04
12
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unhandled exception type Exception 18 65
ejb mdb examples 1 39
Java 8 to Java 6 8 43
jmeter usage 4 65
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

751 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