This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes J# exe runs on my system but not on others Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "J# exe runs on my system but not on others" Watch "J# exe runs on my system but not on others" New topic
Author

J# exe runs on my system but not on others

Ivan Witteveen
Greenhorn

Joined: Jun 02, 2008
Posts: 4
I have written a windows application in J# using the Microsoft Visual Studio 2005. I have compiled it without warnings or errors and it runs on my system (Windows XP). Users say that it crashes on startup or doesn't start up on their systems, either Vista and XP.

I am looking for someone with the 2005 Visual Studio and Vista who can run the program through the debugger to see what is wrong. It has to be the '05 version of the Visual Studio, because the '08 version doesn't support J# anymore.

It consists of 2 programs A and B. Program A reads some variables from a textfile 1 and uses these to output another textfile 2. Program B is a GUI that allows the user to change values in textfile 1 and run program A.

Who can help me?

Thanks,
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

Hi,

Welcome to JavaRanch!

Do the users have the .NET framework runtime installed on their machines? It's a separate download, and not everyone has it.


[Jess in Action][AskingGoodQuestions]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
Originally posted by Ivan Witteveen:
It has to be the '05 version of the Visual Studio, because the '08 version doesn't support J# anymore.
Welcome to JavaRanch. Can't help you myself, but I think the reason the new Visual Studio doesn't support J# is that Microsoft were obliged to withdraw the language from general use.

Of course, that's the nice thing about Java; it will run on any system which supports a JVM with only minimal alterations to the code.
Ivan Witteveen
Greenhorn

Joined: Jun 02, 2008
Posts: 4
Originally posted by Ernest Friedman-Hill:
Do the users have the .NET framework runtime installed on their machines? It's a separate download, and not everyone has it.

I don't know. Wiki says that the .NET framework is a standard part of Vista. I have the .NET framework version 3.5.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

I don't know about Vista, but for XP, it definitely came in an update. Also, Version 3.5 is only about seven months old, so again, a lot of people are likely to not have it yet.
Ivan Witteveen
Greenhorn

Joined: Jun 02, 2008
Posts: 4
Thanks for pointing this out, because I think this is a part of the problem.

I installed and uninstalled all kinds of versions of the .NET Framework and it turned out that my program only works with .NET version 2.0 or higher. So I assume that Windows XP users who reported that it didn't work, don't have the right .NET version.

This doesn't solve the problem for Vista users, because .NET 3.0 is included in Vista. And the error message they receive mentions an Exception Code: e0434f4d. That is why I think that the debugger could clearify the reason for the crash.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J# exe runs on my system but not on others
 
Similar Threads
SCJP Mocks
Java: connecting to mysql [Unsolved]
UnsupportedClassVersionError, Can the good people help
New SCJP 5.0 Free Exam Simulator
Unix OS on Windows Vista ?