This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

how to run a .exe file

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Linux Fedora

How do we run a .exe file on OS.

What are the commands we need to use

Can we run a binary file on Linux
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
".exe" files are executables for DOS or Windows; they don't run directly on Linux. You need to use some special (but readily available, and possibly already installed) software that will let you run the *.exe file. For DOS executables, you can use DOSEMU. For Windows programs, WINE does what you need.
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tried running an exe file.
I am getting the following error message:


An error occurred while loading the archive.

Command line output says:

[/home/opensource/Desktop/.exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: /home/opensource/Desktop/.exe may be a plain executable, not an archive
zipinfo: cannot find zipfile directory in one of /home/opensource/Desktop/.exe or
/home/opensource/Desktop/.exe.zip, and cannot find /home/opensource/Desktop/.exe.ZIP, period.



How do I resolve this error
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have a file which is named ".exe" (i.e., just ".exe", nothing before the dot)? What command exactly did you try to run? The error message looks like you're trying to unzip it, but it isn't a ZIP file.
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The file name is 101GoldenKeys.exe.

Its actually a book I tried to open on Linux.The above message is getting displayed.

Is it not possible to open this file on Linux OS.
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didnt run any command.I just double clicked on this file.exe icon.

The same file I can open on Windows Vista.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

p hasini wrote:I didnt run any command.I just double clicked on this file.exe icon.

The same file I can open on Windows Vista.



Did you read the first reply that you got in this thread?
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.

You need to use some special (but readily available, and possibly already installed) software that will let you run the *.exe file. For DOS executables, you can use DOSEMU. For Windows programs, WINE does what you need.

I dont know how to execute the command in Linux.I am new to Linux software.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

p hasini wrote:
I dont know how to execute the command in Linux.


Which command?
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Follow the instructions in the link which Ernest posted.
 
p hasini
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok. Thank you
 
I was born with webbed fish toes. This tiny ad is my only friend:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!