executable

How can I protect Java/Javafx code from being seen by final user?

余生长醉 提交于 2019-11-29 16:30:02
问题 I have been working on a project alone for more than two years for a company. The project is a really big one using rxtx to communicate with a hardware device. I used Java 8 and JAVAFX for the UI. Now it is almost finished and I am starting to search how to deliver the end user application that the company will distribute over its clients. The problem is that the company I am working with wants the code to be non reachable when the software is between final clients hands because the Java code

Errors with Matplotlib when making an executable with Py2exe (Python)

◇◆丶佛笑我妖孽 提交于 2019-11-29 16:16:56
I have a problem when trying to make an executable with a Python application. For doing this, I'm using Py2exe with the 2.7 version of Python. My application have 3 python scripts -> IHM_monotone_flux_GTC.py which is the one who launch a graphical interface and then 2 others scripts: -> lectureDonnees.py -> main.py In order to create an executable I made a setup.py file which is surely incomplete: from distutils.core import setup import py2exe setup(windows=['IHM_monotone_flux_gtc.py']) Unfortunetaly, it doesn't work and I got this error message: Traceback (most recent call last): File "IHM

Error: Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified. Applies for all executables

谁说胖子不能爱 提交于 2019-11-29 15:02:08
My goal is to run SVN commands from java for one of my requirements, for the same i have already installed TortoiseSVN command line tool. Added the appropriate path"C:/Program Files"/TortoiseSVN/bin" to my environment "Path" variable. With the above setup, i can run my svn commands from windows command line using say "svn --version" and it works perfectly fine. Now coming back to the code to execute the same, i am using processbuilder for this. However i end up with the above error - java.io.IOException: Cannot run program "svn --version": CreateProcess error=2, The system cannot find the file

Debug a .NET EXE file that crashes immediately

好久不见. 提交于 2019-11-29 14:57:38
问题 I'm working with a managed EXE file 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 Visual Studio. What is the solution? 回答1: If you have WinDbg installed, use menu File → Open Executable to open the application directly under the debugger and automatically break immediately. You can then use the commands under Debug (i.e., Go )

How can I make an exe in NetBeans? [duplicate]

独自空忆成欢 提交于 2019-11-29 14:29:21
问题 Possible Duplicate: How can I convert my java program to an .exe file ? How can I create an .exe file in NetBeans for a Java program? I've had a look around, and I can make a JAR but not an exe. 回答1: Have a look at JAR wrappers like Jar2Exe, JSmooth or Launch4j. They will wrap your JAR inside an executable which role is to launch the JVM. 回答2: If it is Java. You may need another tool to pack an exe for your application. E.g. http://www.duckware.com/jexepack/index.html 回答3: There are wrappers

Making an executable bash file run when clicked

荒凉一梦 提交于 2019-11-29 11:29:33
问题 I have a bash file that does some file manipulation. I don't want to have to open the terminal every time I run it. Is there a way to make the program run when I double click it? (Like a windows .exe file) Thanks 回答1: You can add a ".command" extension to the filename -- then double-clicking it will automatically open Terminal and run the script in a new window. Note: this assumes you still want to watch/interact with the script via a Terminal interface; if you want to avoid this as well,

Windows PE Resources

冷暖自知 提交于 2019-11-29 10:38:11
there are many windows PE resource viewers programs. But how do they work? Do they decode function calls to winapi, or does PE have some section for GUI information? Like Android has XML GUI definitons? Thanks. There are probably different implementation strategies, so it's not possible to answer this universally for all tools. The PE file format specification is publicly available. It specifies the section structure of a PE file, how to find the .rsrc section in the file, and how to extract individual resources from that section. The individual resource formats are also documented on MSDN.

My iOS app has a + in its name. Bundle is invalid due to this. Need help resolving

…衆ロ難τιáo~ 提交于 2019-11-29 10:21:55
I did find a couple of very similar or identical threads here but they seemed to end before full resolution. My app runs fine on my device with no build error. I am trying to submit app for approval and I get the following error, "This bundle is invalid. The executable name, as reported by CFBundleExecutable in the info.plist file may not contain any of these characters ..... +". So I opened my info.plist file and changed the info.plist file executable name from the macro ${EXECUTABLE_NAME} to the name of my app without the +. I did a new archive but then get an error saying the "codesign

What are possible causes of “failed to map segment from shared object: operation not permitted”, and how to debug?

巧了我就是萌 提交于 2019-11-29 09:36:14
I have two executables, both cross compiled to run in Android. I have put both on the device in the same directory. I have put all the shared libraries that they are dependent on in the same directory, including ld-linux.so.3. I run the executables by using: ld-linux.so.3 --library-path /path/to/libraries executable_name both work on older versions of Android when running as any user. The both work on the latest version of Android if running as root. Only one works on the latest version of android when running as any user. Instead it gives: failed to map segment from shared object: executable

Determining Which Compiler Built a Win32 PE

為{幸葍}努か 提交于 2019-11-29 08:18:15
问题 How can one determine which C or C++ compiler was used to build a particular Windows executable or DLL? Some compilers leave behind version strings in the final executable, but this seems to be rarer on Windows than on Linux. Specifically, I'm interested in distinguishing between Visual C++ and the various MinGW compilers (usually fairly easy from the function signatures), and then between Visual C++ versions (6, 2002/2003, 2005, 2008; more difficult to do). Is there a tool out there that can