Problem with cmd executing a file.exe

View: New views
15 Messages — Rating Filter:   Alert me  

Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I want to exec a file named xt.exe (http://triana.escet.urjc.es/apliweb/xt.exe) in ubuntu.

Then, I use wine cmd and the result is:
Z:\home\michel\Escritorio>xt.exe
err:ole:CoGetClassObject class {3efb1800-c2a1-11cf-960c-0080c7c2ba87} not registered
err:ole:CoGetClassObject class {3efb1800-c2a1-11cf-960c-0080c7c2ba87} not registered
err:ole:create_server class {3efb1800-c2a1-11cf-960c-0080c7c2ba87} not registered
err:ole:CoGetClassObject no class object {3efb1800-c2a1-11cf-960c-0080c7c2ba87} could be created for context 0x7
Unable to start the application.  The Microsoft virtual machine cannot be found.

Anyone has an idea?






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


davidausente wrote:
> I want to exec a file named xt.exe

What does that program do?


davidausente wrote:
> Unable to start the application.  The Microsoft virtual machine cannot be found.

If it needs MS' VM it won't find one. Wine is not a VM.






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


vitamin wrote:

>
> davidausente wrote:
> > I want to exec a file named xt.exe
>
> What does that program do?
>
>
> davidausente wrote:
> > Unable to start the application.  The Microsoft virtual machine cannot be found.
>
> If it needs MS' VM it won't find one. Wine is not a VM.


The program use java (i think)
¿There is no way to run it? ¿Installing ms'vm or something like this?






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


davidausente wrote:
>
> The program use java (i think)
>


Have you installed Java in Wine?






Re: Problem with cmd executing a file.exe

by PerryH-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"davidausente" <wineforum-user@...> wrote:
> vitamin wrote:
> > davidausente wrote:
> > > Unable to start the application.  The Microsoft virtual
> > > machine cannot be found.
> >
> > If it needs MS' VM it won't find one. Wine is not a VM.
>
> The program use java (i think)

I suspect that a Java program would be looking for a "Java virtual
machine".  This is probably written in .net (Microsoft's not-quite-
compatible variant of Java).

> ?There is no way to run it? ?Installing ms'vm or something like this?

IIRC it's possible to install .net using winetricks.


Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> This is probably written in .net (Microsoft's not-quite-
> compatible variant of Java).

Java is not .NET, they're two completely different languages with different bytecode to interpret. Also, depending on what language you use to compile .NET bytecode, it doesn't have to look like Java (only C# does).

So .NET applications need .NET, Java applications need Java. There's no other way around it.

As dimesio mentioned, install the Windows version of Java in Wine. The application should work afterwards.






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


DaVince wrote:
>
> > This is probably written in .net (Microsoft's not-quite-
> > compatible variant of Java).
>
> Java is not .NET, they're two completely different languages with different bytecode to interpret. Also, depending on what language you use to compile .NET bytecode, it doesn't have to look like Java (only C# does).
>
> So .NET applications need .NET, Java applications need Java. There's no other way around it.
>
> As dimesio mentioned, install the Windows version of Java in Wine. The application should work afterwards.


I installed jre-6u17-windows-i586 on wine, and the application show the same error...

I dont know...






Re: Problem with cmd executing a file.exe

by Martin Gregorie-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-11-04 at 14:36 -0600, davidausente wrote:
> I installed jre-6u17-windows-i586 on wine, and the application show the same error...
>
Can you run the application under a native Linux version of Java 6 or is
there something that would stop you doing that, such as the application
using JNI to run Windows-specific code?


Martin




Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If I do double click in the xt.exe icon, automatically it's open with wine

I have tried with execution permission but the result is:
michel@michel-laptop:~$ cd Descargas/
michel@michel-laptop:~/Descargas$ xt.exe
xt.exe: command not found
michel@michel-laptop:~/Descargas$ ./xt.exe
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
fixme:ole:Context_QueryInterface interface not implemented {000001da-0000-0000-c000-000000000046}
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
java.lang.UnsatisfiedLinkError: java/io/FileDescriptor.initSystemFD  Possible causes: If you are trying to use J/Direct (@dll.import), check your compiler version (for JVC, requires 4336 or greater.) If you are trying to use RNI, there are new requirements: see documentation.
michel@michel-laptop:~/Descargas$






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


davidausente wrote:
> fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE

What Wine version? This was fixed a long while ago.






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The wine version:
wine-1.0.1

I discovered that the program needs this file "msjavx86.exe" to run, I have tried to install it on wine but I get an error at the end of the installation.

With virtualbox running windows xp, executing msjavx86.exe, and later the program I need (xt.exe) works.






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


davidausente wrote:
> The wine version:
> wine-1.0.1
>
>


Upgrade to the latest development release. That version is very old.






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


dimesio wrote:
>
> davidausente wrote:
> > The wine version:
> > wine-1.0.1
> >
> >
>
>
> Upgrade to the latest development release. That version is very old.


It's de karmic koala version... I will try to update it... thanks






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I realized that it is the last version...

Latest Releases
Stable: Wine 1.0.1 (shortlog)
Development: Wine 1.1.32 (shortlog)






Re: Problem with cmd executing a file.exe

by dimesio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So install 1.1.32, which is indeed known as the development version (but is actually a lot more stable).