• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Running executable files

 
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am able to run certain programs, like firefox, chrome, google earth, libreoffice, itunes...

But struggling with the two below:
C:/Program Files (x86)/iSnooker/isnooker.exe
(It opens, but crashes with error "D3DXLoadMeshX(scene file) - FAILED")
C:/Program Files (x86)/Samsung SSD Magician/Samsung Magician.exe
(It opens, but crashes with error "Initialization of logger module failed. Cannot start application")

My code is basically...



Is there any simple way around this? or should I just accept its never gonna work?

Thanks for any advice.
 
colin shuker
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aha..

I found this..


This now lets those 2 programs launch fine each time, so I guess it will work with firefox and whatever too.

I found it here..
run exe from java from file location

Hope this can be of use to someone.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

colin shuker wrote:Hope this can be of use to someone.


Maybe. However, I'd suggest you read this thread first.

Winston
 
colin shuker
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, its been working fine on windows 7, but on windows 8...

When I run jar file through command prompt, the exe files all open correctly.
But running jar file by double clicking, and none of the exe files will open at all.

This is when running the code:



Can anyone figure this out?
Normally I would run it through the command prompt to find the error, but there is no error when using it.
Any thoughts? Thanks
reply
    Bookmark Topic Watch Topic
  • New Topic