exe

Creating Java Exe [duplicate]

泪湿孤枕 提交于 2019-12-24 03:05:23
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How can I convert my java program to an .exe file ? Hi, How can i create an executable (EXE) from my Java program? Thanks for your Help 回答1: JSmooth is another good option. 回答2: You can try using launch4j to create and executable wrapper: http://sourceforge.net/projects/launch4j/ 来源: https://stackoverflow.com/questions/5250997/creating-java-exe

how to convert exe file to .jar file? [duplicate]

ⅰ亾dé卋堺 提交于 2019-12-24 01:29:34
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How can I extract java exe to jar Is there a way to convert exe to jar file? for example i have an exe file that was written with java first, then i convert to jar file then exe file. Can i convert it back to jar file? I understand that java programs can be made into an exe and there are tools to convert jar files to exe but is it possible to convert back? I searched many sites but couldn't come up with the

Build a .exe file from .py with SQLite database

隐身守侯 提交于 2019-12-24 00:37:52
问题 Program makes appointments and places them into schedule which are written in QsQLite database. The program runs from .py but I need it to be in .exe. I have used cx_Freeze to create an .exe file, but the program does not generate the SQLite database. So here is my setup file: from cx_Freeze import setup, Executable import os import sys os.environ['TCL_LIBRARY'] = r'C:\Program Files\Python35\tcl\tcl8.6' os.environ['TK_LIBRARY'] = r'C:\Program Files\Python35\tcl\tk8.6' build_exe_options = {

Making an .exe for pygame with cx-freeze

混江龙づ霸主 提交于 2019-12-24 00:31:02
问题 I've created a game in Python 3.2 and tried to turn it into a .exe with cx-freeze but when I try to run the .exe, I get an error. The Game import pygame, sys, random from pygame.locals import * pygame.init() mainClock = pygame.time.Clock() windowSurface = pygame.display.set_mode((800, 800)) pygame.display.set_caption("Dodger") def game(): WIDTH = 800 HEIGHT = 800 PLAYERSIZE = 20 PLAYERSPEED = 4 ENEMYSIZE = 10 ENEMYSPEED = 3 score = 0 BLACK = (0, 0, 0) WHITE = (255, 255, 255) GREEN = (0, 255,

Writing an EXE output to a batch file

杀马特。学长 韩版系。学妹 提交于 2019-12-23 18:44:41
问题 I have an EXE which will have the Output values as 0/1. The EXE is to be called via a batch file. I want the Batch file to run the EXE and write the output obtained. How is this possible? Any help would be appreciated. 回答1: I asume that you want to capture the output of the EXE and process that value, instead of just printing that value. Here is how you can capture the output in a variable: FOR /F "tokens=*" %%i IN ('%~dp0sometool.exe') DO SET TOOLOUTPUT=%%i 回答2: You need to the /F extension

Is writing bytes at the end of EXE file safe?

偶尔善良 提交于 2019-12-23 18:43:57
问题 I've heard that if we append some bytes at the end of an EXE file, it can still work properly. Is it true in all case? And is it a safe way? I intend to write the demo using data in the program execution file, so it can be safe (at least to normal user) and I don't have to store data anywhere else. 回答1: This is impossible to answer with a certain Yes or No. I assume you will store data at the end of your executable in lieu of storing program state in a configuration file. I further assume you

How does PAR::Packer work?

回眸只為那壹抹淺笑 提交于 2019-12-23 12:23:35
问题 I was using PAR::Packer and this question popped up in my mind. How does PAR::Packer work in Perl? Does it actually compile the Perl script to .exe like g++ compiles C++ Sources to .exe or does it work like py2exe in Python that packs the interpreter and the script into an .exe? 回答1: To make this absolutely clear: Tools like PAR::Packer do not “compile” your Perl script. They bundle the perl interpreter together with your source files and any required modules into a big fat executable file.

Problems on creation of executable file from python with Nuitka

杀马特。学长 韩版系。学妹 提交于 2019-12-23 09:46:51
问题 I am trying to create an exe file from a python file that it will be executable to other PCs. I came across Nuitka.I use Python 2.7.11 Anaconda 2.3.0 (32 bit) on Windows 8.1 64 bit. Because of my work specs i can't update my Python version!!! I have download nuitka 0.5.19 for python 2.7. At first i used the simple line nuitka --exe python.py and i get an executable (with some warnings) that runs only in PCs that had install Python (obvious!). Then i used nuitka --standalone python.py in order

How to change JavaFx native Bundle exe icon

蓝咒 提交于 2019-12-23 09:09:44
问题 I am trying to chance the icon of the exe file created native bundling of javafx packaging but it still contains the default icon. Please suggest primaryStage.getIcons().add(FileUtility.loadImage("icon.png")); did not help, it only changes the title bar and task bar icon. The ico file still gets generated and icon of the exe files remains the default one I also tried to assign an icon in the project properties-> Deployment-> icon but did not help 回答1: I believe I have encountered the same

How do you make a Python executable file on Mac? [closed]

霸气de小男生 提交于 2019-12-23 07:57:58
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . My google searching has failed me. I'd like to know how to make an executable Python file on OS X, that is, how to go about making an .exe file that can launch a Python script with a double click (not from the shell). For that matter I'd assume the solution for this would be