Best Desktop Deployment technique for small Java applications - swing

I am planning to develop a GUI Frontend for mixminion in java using swing(it would be something very simple nothing big). After making it what would be the best way to deploy it on windows for average users who dont even know whats java(leave alone JRE).So asking them to separately download JRE is not an option. I also want to keep the download size to minimum coz it will downloaded through internet so i cannot bundle JRE with installer.
Using Jet to compile it into a native code is not an option bcoz its not free.
Any suggestion would be greatly appreciated.
Thanks

If your really need to create a native app, the GNU Compiler for the Java can produce native machine code. I have no experience using GCJ and the latest news on the website is from late 2009. So this advice comes without warranty or guarantees... However if want to try:
http://gcc.gnu.org/java/

Related

How to create a PPAPI plugin for Google Chrome in Windows?

I am new to PPAPI development and have downloaded the already examples from here
However, even after coming across the documentation,
I am not able to build the project.
I have Microsoft Visual Studio 2010, Windows OS and Chrome:30.0.1599.65
I understand that once a dll is created, using the regsvr32 command will register the plugin, although getting the dll, even with available code, seems tough for me. Any help for building the dll is appreciated.
You will want to start here to download the and set up the SDK: https://developers.google.com/native-client/sdk/download
This page will take you through how to build and run the examples: https://developer.chrome.com/native-client/sdk/examples
This page goes over how to actually create your own plugin: https://developer.chrome.com/native-client/devguide/tutorial/tutorial-part1
And then you should read this entire section to code and structure your application: https://developer.chrome.com/native-client/devguide/coding/application-structure
If you need any third party libraries be sure to check here: https://chromium.googlesource.com/webports
Edit: Forgot to mention that you will want to use the same version of the pepper api as the version of chrome you're running (in this case pepper_30). Also, you have to use the NaCl toolchain (one of either glibc, newlib, or pnacl); you can't use the Visual C/C++ toolchains. I recommend trying pnacl now that it is available, as that is by far the most cross platform version, but if you run into trouble, you'll probably want to use the newlib toolchain as it has better support.

Monodevelop, where can I download it?

I was trying to download Monodevelop for mac, but on the official page there is everything but a compiled and downloadable file.
I've read around other threads on different forum and apparently it is required to compile the source code. Is this really the case?
What other alternative may exist for Mac? I just need to dig into some source code, using references and jumping from code portion to others without using the search filter.
Thanks.
If you want a binary for Mac, you need to go to Xamarin's homepage and simply download Xamarin Studio.
Xamarin Studio is basically the same thing as MonoDevelop, the only difference is a bit of branding and the inclusion of 3 plugins for their proprietary development offerings, which you can ignore if you're not interested in developing for the mobile platform.

TideSDK and dependency on SDK

I'm very very new to HTML5 programming, so forgive me if I ask a strange question. I'm looking for a good tool to write apps the can be run on iPhone, Android and the most known webbrowsers on a desktop. I came across TideSDK and I was a bit confused by the fact that it has SDK in the title. Does this mean that the SDK is part of anything I will create with it?
Do I have to distribute the SDK along with the App I create and wouldn't that be a problem when wanting to freely distribute my application?
Regards
Gabrie
Well there are two ways to build the application
1) with package.
With package works as stand alone application without any dependencies or anything other things installed.
2) without package.
The think you were saying is right. They need to have modules to be installed.

creating an online windows 2003 emulator - best program to use?

i would like to produce a online windows 2003 emulator
so anyone can use windows 2003 through a browser instead of
installing the software - something similar to temulator www.temulator.com/- and zen internet emulator va.zensupport.co.uk - i have basic html & css skills
can it be done using html/css or is it better to use java/flash etc ,i am thinking of just using screenshots and then linking them together , but its very time conusming to do. what is the best programming language and BEST approach??
thank you
Neil
Which aspect of Windows do you want to simulate. Do you want to create an on-line "desktop" that looks like Windows 2003? In that case, check out whether you can customize one of the already existing Web Desktop projects like eyeOS. See the Wikipedia article on Web desktops for a list of projects.
It's going to take way more than basic HTML skills to work on a On-line desktop, so you really want to look at existing solutions unless you want to learn advanced Javascript, CSS and server-side programming from scratch.
To actually run Windows 2003 applications through an on-line interface is possible using the Remote Desktop Protocol and an appropriately configured Windows server (See the Link in Carlos's answer for a way to start a RDP session from a web browser window). However, this can't be done for free and is not unrestricted - you need to purchase the Windows OS, and user licenses for people to log on to the system.
Opening such a Terminal Server to the public is, as far as I know, forbidden my Windows 2003's license terms, extremely dangerous because of the risk of people infecting your system, and overall not worth pursuing IMO. You could do something like this with Linux because there are no license terms, but it's not a trivial matter and it's not going to run most Windows 2003 software.
You could use this:
Embedding the Remote Desktop ActiveX Control in a Web Page
For a Win2003-like GUI online: XP is close enough to Win2003.
Actual OS online: Convert VirtualBox to Java.

Compiling MySQL on Windows with C++ Builder

Possible? To crazy to contemplate? if yes and no (respectively) any idea how to go about doing this?
I don't know if it's possible. With newer versions of Builder and some probably not-insignificant effort, I'd guess it probably is. But why on earth would you want to? You'll end up with a version of MySQL compiled in an untested environment instead of the distribution versions provided by MySQL themselves that gain lots of testing exposure. I can't think of a single advantage of doing this, but I can think of plenty of disadvantages.
If your problem is that Builder is the only development environment you have to hand, be aware that you can compile using Visual C++ Express, which MS will give you for free.
If you really want to go about doing this, you'll be wanting MySQL's build guide and CMake. Following their instructions for Visual Studio will work to get you something you can start building. You'll then need to hack around looking for appropriate compiler options and so forth.
Shouldn't be too challenging; just use Cygwin if you'd like to compile it.