¡¾Java App Convert to EXE File¡¿
* ------------------------------------------------------------------------------------
Title: TestJava.cpp
author: gloomy fish on 2009-09-16
------------------------------------------------------------------------------------ */
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
/* for spawn */
#include <process.h>
/* for str* functions */
#include <string.h>
#include <TCHAR.H>
//-------------------------------------------------------------------------------
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
// -- check wether application is running now....
HANDLE hMutex = CreateMutex (NULL, // No security descriptor
FALSE, // Mutex object not owned
TEXT("TotallyBogusMutexObjectPlateUtility")); // Obje
Ïà¹ØÎĵµ£º
/*
* EncryptUtils.java
* Copyright (C) 2007-3-19 <JustinLei@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* ......
1¡¢½«ÏîÄ¿´ò°üºÃ£»
2¡¢½«JREĿѹËõ³ÉJRE.rar,·ÅÔÚµ±Ç°ÏîĿĿ¼Ï£»
2¡¢ÏÂÔØGreenJVM£¬ÆäÖÐÁ½¸öÖ÷ÒªÎļþ(GreenJVM.exeºÍvm.cfg)
3¡¢ÓüÆÊ±¾´ò¿ªvm.cfgÉèÖòÎÊý£¬²ÎÊýºÜ¶à£¬Ö»ÒªÉèÖÃÏÂÃæ¼¸¸ö¾Í¿ÉÒÔÓÃÁË£º
SET_VM_NAME=jre.rar
SET_START_JAR_PATH=***.jar &nbs ......
±¾ÎÄÔÖ·£ºhttp://blogger.org.cn/blog/more.asp?name=hongrui&id=46926
/**
* JavaÀïÊý×Öת×Ö·û´®Ç°Ãæ×Ô¶¯²¹0µÄʵÏÖ¡£
*
*/
public class TestStringFormat {
public static void ......
JavaÄÚ²¿À൱³õµÄÉè¼ÆÄ¿µÄÓ¦¸ÃÊÇʵÏÖ¶àÖØ¼Ì³Ð£¬ºóÀ´·¢ÏÖÄÚ²¿À໹´øÀ´ÁËÆäËûºÃ´¦£¬Èç¿ÉÒÔʹÓÃÄÚ²¿Àà°üװһЩº¯Êý£¬ÊµÏÖº¯Êý¼¶±ðµÄȨÏÞ¿ØÖƵȡ£
JavaÖУ¬LIst.subList()µÈ·½·¨²úÉúµÄÊÇÒ»¸öview£¬¼´²»ÊÇ´«Öµ£¬¶ø½öÊÇÒýÓá£ËƺõÔÚjavaÖгýÁËprimitiveÀ࣬ÆäËûÀà¶¼Ðènew²ÅÄܲúÉúжÔÏó¡£
iBatis DAO¿ò¼ÜÍ ......
1.дһ¸öðÅÝÅÅÐòµÄ³ÌÐò¡£
public class Sort
{
public static void main(String[] args)
{
&n ......