executable

Embedding an icon in a Linux executable

I have written an application in Java and succesfully compiled it using gcj. In (X)ubuntu's File Manager, my application appears with the default Linux executable icon, which I would like to replace with my own: I have seen that other applications display a custom icon as the executable, such as Firefox, but have no idea how to appr...

I have managed to compile java-program but I cannot execute it.

I have just installed JDK on Windows Vista. After that I set proper values for the 4 environment variables: classpath, include, lib, path. After that I was able to compile my HelloWorld-program (I got a *.class file). But when I try to execute the compiled program (I type java HelloWorldApp) it does not work. The Java write a lot of stuf...

How to achieve smaller size of the executable?

Hello everyone! Very recently I have come back to Delphi after a long pause and written a rather straightforward utility app my client requested to support an older release... I know these days the size does not matter much, but it struck me as odd that the one-unit application, when compiled, amounted to 1'084'416 b executable. The on...

Google app engine to run executable files

Hi, Is it possible to run executable files in google app engine? Like by using Runtime.exec? There is whitelist on google app engine documentation which list classes that can be used but functions/ inside the classes are not specified. Thanks! ...

Baffling Failure to Call External Executable From Within Java Program

All right, I've hit a bug that has simply confused the bejeebus out of me. I'm looking for ideas about what it could be that I can investigate, because right now, I got nothing. It goes something like this: I have a standalone Java application that occasionally needs to twiddle the Line-In volume of the computer it's running on (a Win...

Install wizard for my windows form application - or not?

I am wondering about the need for an install wizard for my little Windows Forms application. No database access, just file access on a shared network drive. I have seen times when an executable is sent in an email, copied to a desktop and used. Other times when an 'install wizard' seems to be used to set up the application. What dicta...

Do you prepare a new application (stand alone exe file) for admin or handle it in the same application by access rights?

Do you prepare a new application (stand alone exe file) for admin or handle it in the same application by access rights? ...

How to re-run an executable in VB.net

Hello all, I am totally a newbie to VB.net, now I am developping a Windows Service, which will start an *.exe when starting. How can I detect and re-start a process of this executable if it got killed by some other program? My code is as below: Public Class MyWinService Dim RetVal Protected Overrides Sub OnStart(ByVal args() As Stri...

Mach-O Executable: How to obtain pointers into the __StaticInit segment?

I am writing a program that heavily modifies the basic structure of an executable in order to obfuscate it, making disassembly and reverse-engineering tougher. I have a question about the __StaticInit segment. I know that inside an ordinary Mach-O file this segment contains code to initialize static variables. I also know that this code ...

How are self-extracting executables made?

There are many programs out there that will allow you to pack a few files together and generate an executable that has the necessary code to extract them. Somehow, those files are residing inside the executable. I am interested in doing the same thing; how is this done? FYI, I'm interested primarily in Windows .exe files, if it makes a ...

Size and modified date of delphi compiled executable in being changed automatically

I do compile the delphi source code(such as ABC.dpr) on delphi 5 compiler. after the successful compilation, i put this executalbe(say ABC.EXE with size 200300 byte) at different machine(i have only full access control to R/W, others just can read/get the files) for operation/for other user access. form last one year i observed that siz...

Embed a JRE in a Windows executable?

Suppose I want to distribute a Java application. Suppose I want to distribute it as a single executable. I could easily build a .jar with both the application and all its external dependencies in a single file (with some Ant hacking). Now suppose I want to distribute it as an .exe file on Windows. That's easy enough, given the nice too...

Is it possible to bundle my ASP.NET app into a self executable web app? (I know Java can)

NOTE: I'm a veteran Java developer (10yrs) and have recently decided to make things interesting and jump over to the ASP.NET / C# world. Thus the question... I have a business requirement to build an ASP.NET web application that can be installed into an "enterprise data center" for use by an entire organization or can be downloaded by a...

Make an executable at runtime

Ok, so I was wondering how one would go about creating a program, that creates a second program(Like how most compression programs can create self extracting self excutables, but that's not what I need). Say I have 2 programs. Each one containing a class. The one program I would use to modify and fill the class with data. The second fil...

Normal Setups in Visual Studio

Hi All Just wondering if there's a way to make Visual Studio 2008 Express Edition generate normal exe files that are created by the installer for my app? I am sick of the ClickOnce application files. I had all these file associations setup and now that I need to actually have an installer for my apps, the file associations setup in the...

Change executable properties (product name) with c#

I have a c# proyect that I need to change its product name upon compiling. I used the prebuild event to change it in the AssemblyInfo.cs but a few times visual studio doesnt get this change and compiles it with the previous product name. So i prefer to change it after compiling from another executable (all in c#) ...

How to generate an exe file from my java project ? Which tool should I use ?

I was asked to make a program (in java) by some person but I was stacked as I didn't know how to generate and exe file from my jar file... It would be useless If I install for them the jdk environment as this person don't how to program... Does anyone knows ho to do this or what tool should I use ? Regards from Córdoba Capital, Argentin...

.NET - Debug an exe that crashes immediately

I'm working with a managed exe that crashes immediately when run. Usually I'd expect a dialog which allows an option to launch the debugger but no such luck in this case. Also, the program crashes too quickly for me to use attach to process in VS. ...

How to create a jar/exe of java project??

Hello All, I am Student and I have developed a project in java using Netbeans 6.1. I need to add 2 third party jar's to it and 2 licence files in a jdk/jre/bin location. Now i want it to distribute it for the trials.I have no experience of creating exe of a java project.Can anybody please explain me how to create it? I have a tried s...

How important is it to digitally sign our executables?

We produce a content management system. It's a DB-based system, used only by businesses and organizations, and never downloadable from the Internet. I.e., it's not the kind of software someone might stumble upon and wonder what it is and whether it's safe to run. Over the 20+ years our system is being sold, it's executables have never be...