Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ErrorMessage but I don't know why !

Posted on 2004-04-04
12
Medium Priority
?
180 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
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

 
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 100 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 100 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

Technology Partners: 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!

Question has a verified solution.

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

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…
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 if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
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

715 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