Run java application only on a specific machine!!!???
I have my java application and I want that my application run only on a singular computer.
I want anybody take my application and use it without my permission!
Is it possible that my application read the cpu's serial number of the computer where it is installed? or other unique identifier
Thanks
You can put varous gotcha's in the program and then obfuscate it, but anything can be decompiled and re-engineered.
Put your computer in your room, no internet connection, take off the floppy and DVD/CD burner and then put a great security alarm in your room. That is about the best you can do to keep your application from being stolen.
Aside from these things--you're going to have to trust a little that everyone is not out to steal your stuff. Ask any security company off the record and they will all admit--total security is an illusion, but you can choose varying degrees of difficulty to take your stuff.
Similar Messages
-
How to run java application without having java environment in a machine
can i run java application without having java environment(JVM) in a machine.I mean i dont have installed j2se or jdk in my machine.And i have an j2ee application running on another host which is built in swings.I want to access that application in my machine
can any one help regarding my problemIf you only need to access the program from one machine and you are running a Unix-like operating system (e.g., Linux, Solaris), you can use the remote display capabilities of X11. In this case you have to choose the host where the app will be displayed when you start it:
$ DISPLAY=<hostname>:0.0
$ export DISPLAY
$ java ...
If you want to be able to display it on both machines at the same time, or if you are using windows, then try something like VNC (http;//www.realvnc.com). Or if you are running windows and your version supports it, you can use windows remote desktop. -
Error while running Java Application as NT Service using INSTSRV
Hi,
I am trying to run Java Application as an NT Service using Instsrv.But when i start the service It works fine.when i stop the service it does not stop and it continues to run the application.When i uninstall the service It still executes.When i reboot my machine it stops .Is there any solutions for this.Any help is greatly appreciated.
Thanks.I actually had similar situation. I used autoexnt.ext tool (it creats a service that can be called when rebooting) to start a batch file which in turn run a java program. After the program starts, it can only be stopped through Task Manager or Ctrl-C at the dos window (it creats a dos window) or close the window directly. Stopping the service has nothing to do with the program. I feel this is reasonable because the only function of the service here is to start the application. After that the service does not (very likely) have any connection with the program so whatever you do with the service will not affect the program itself. I wonnder if you are in the same situation.
PC -
JVM Error while running java application through Java Webstart
Hi All,
While running java application through Webstart, we got the following error log and application is not running. I am not sure why this is happened? Can anyone help me out to resolve this problem?
Help Regarding this will be highly appreciated.
Thanks In advance.
Bala
Error in Log File:
# An unexpected error has been detected by HotSpot Virtual Machine:
# Internal Error (53545542324F5554494E45530E435050008C), pid=684, tid=9424
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
--------------- T H R E A D ---------------
Current thread (0x00345a60): JavaThread [_thread_in_vm, id=9424]
Stack: [0x00030000,0x00070000), sp=0x0006f9a4, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x12430d]
V [jvm.dll+0x6366e]
V [jvm.dll+0x636a3]
V [jvm.dll+0x10073c]
V [jvm.dll+0x7859b]
V [jvm.dll+0x919fc]
C [javaw.exe+0x2120]
C [javaw.exe+0x11bb]
C [javaw.exe+0x3151]
C [kernel32.dll+0x123e5]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 2304K, used 42K [0x02a60000, 0x02cd0000, 0x051c0000)
eden space 2112K, 2% used [0x02a60000, 0x02a6a908, 0x02c70000)
from space 192K, 0% used [0x02c70000, 0x02c70000, 0x02ca0000)
to space 192K, 0% used [0x02ca0000, 0x02ca0000, 0x02cd0000)
tenured generation total 30272K, used 0K [0x051c0000, 0x06f50000, 0x22a60000)
the space 30272K, 0% used [0x051c0000, 0x051c0000, 0x051c0200, 0x06f50000)
compacting perm gen total 8192K, used 409K [0x22a60000, 0x23260000, 0x26a60000)
the space 8192K, 4% used [0x22a60000, 0x22ac64d0, 0x22ac6600, 0x23260000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x0040d000 C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe
0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll
0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
0x77f50000 - 0x77fec000 C:\WINDOWS\system32\ADVAPI32.dll
0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll
0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll
0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\MSVCRT.dll
0x71c20000 - 0x71c32000 C:\WINDOWS\system32\tsappcmp.dll
0x76290000 - 0x762ad000 C:\WINDOWS\system32\IMM32.DLL
0x6d640000 - 0x6d7dd000 C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll
0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll
0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
0x71c40000 - 0x71c98000 C:\WINDOWS\system32\NETAPI32.dll
0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
0x6d290000 - 0x6d298000 C:\Program Files\Java\jre1.5.0_11\bin\hpi.dll
0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_11\bin\verify.dll
0x6d310000 - 0x6d32d000 C:\Program Files\Java\jre1.5.0_11\bin\java.dll
0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_11\bin\zip.dll
VM Arguments:
jvm_args: -Xms32m -Xmx512m -Xbootclasspath/a:C:\Program Files\Java\jre1.5.0_11\lib\javaws.jar;C:\Program Files\Java\jre1.5.0_11\lib\deploy.jar -Djnlpx.home=C:\Program Files\Java\jre1.5.0_11\bin -Djnlpx.splashport=1970 -Djnlpx.jvm="C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe" -Djnlpx.remove=true -Djava.security.policy=file:C:\Program Files\Java\jre1.5.0_11\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=32m,512m
java_command: com.sun.javaws.Main C:\DOCUME~1\ssiwach\LOCALS~1\Temp\1\javaws3
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Program Files\Java\jre1.5.0_11\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\mysql\bin;"C:\Program Files\Java\jre1.5.0_11\bin"
USERNAME=ssiwach
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790 Service Pack 1
CPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
Memory: 4k page, physical 2097151k(438060k free), swap 4194303k(5136k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_11-b03) for windows-x86, built on Dec 15 2006 01:16:12 by "java_re" with MS VC++ 6.0
------------------------------------------------------------------------------------------------------------------Hi All,
While running java application through Webstart, we got the following error log and application is not running. I am not sure why this is happened? Can anyone help me out to resolve this problem?
Help Regarding this will be highly appreciated.
Thanks In advance.
Bala
Error in Log File:
# An unexpected error has been detected by HotSpot Virtual Machine:
# Internal Error (53545542324F5554494E45530E435050008C), pid=684, tid=9424
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
--------------- T H R E A D ---------------
Current thread (0x00345a60): JavaThread [_thread_in_vm, id=9424]
Stack: [0x00030000,0x00070000), sp=0x0006f9a4, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x12430d]
V [jvm.dll+0x6366e]
V [jvm.dll+0x636a3]
V [jvm.dll+0x10073c]
V [jvm.dll+0x7859b]
V [jvm.dll+0x919fc]
C [javaw.exe+0x2120]
C [javaw.exe+0x11bb]
C [javaw.exe+0x3151]
C [kernel32.dll+0x123e5]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 2304K, used 42K [0x02a60000, 0x02cd0000, 0x051c0000)
eden space 2112K, 2% used [0x02a60000, 0x02a6a908, 0x02c70000)
from space 192K, 0% used [0x02c70000, 0x02c70000, 0x02ca0000)
to space 192K, 0% used [0x02ca0000, 0x02ca0000, 0x02cd0000)
tenured generation total 30272K, used 0K [0x051c0000, 0x06f50000, 0x22a60000)
the space 30272K, 0% used [0x051c0000, 0x051c0000, 0x051c0200, 0x06f50000)
compacting perm gen total 8192K, used 409K [0x22a60000, 0x23260000, 0x26a60000)
the space 8192K, 4% used [0x22a60000, 0x22ac64d0, 0x22ac6600, 0x23260000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x0040d000 C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe
0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll
0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
0x77f50000 - 0x77fec000 C:\WINDOWS\system32\ADVAPI32.dll
0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll
0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll
0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\MSVCRT.dll
0x71c20000 - 0x71c32000 C:\WINDOWS\system32\tsappcmp.dll
0x76290000 - 0x762ad000 C:\WINDOWS\system32\IMM32.DLL
0x6d640000 - 0x6d7dd000 C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll
0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll
0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
0x71c40000 - 0x71c98000 C:\WINDOWS\system32\NETAPI32.dll
0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
0x6d290000 - 0x6d298000 C:\Program Files\Java\jre1.5.0_11\bin\hpi.dll
0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_11\bin\verify.dll
0x6d310000 - 0x6d32d000 C:\Program Files\Java\jre1.5.0_11\bin\java.dll
0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_11\bin\zip.dll
VM Arguments:
jvm_args: -Xms32m -Xmx512m -Xbootclasspath/a:C:\Program Files\Java\jre1.5.0_11\lib\javaws.jar;C:\Program Files\Java\jre1.5.0_11\lib\deploy.jar -Djnlpx.home=C:\Program Files\Java\jre1.5.0_11\bin -Djnlpx.splashport=1970 -Djnlpx.jvm="C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe" -Djnlpx.remove=true -Djava.security.policy=file:C:\Program Files\Java\jre1.5.0_11\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=32m,512m
java_command: com.sun.javaws.Main C:\DOCUME~1\ssiwach\LOCALS~1\Temp\1\javaws3
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Program Files\Java\jre1.5.0_11\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\mysql\bin;"C:\Program Files\Java\jre1.5.0_11\bin"
USERNAME=ssiwach
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790 Service Pack 1
CPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
Memory: 4k page, physical 2097151k(438060k free), swap 4194303k(5136k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_11-b03) for windows-x86, built on Dec 15 2006 01:16:12 by "java_re" with MS VC++ 6.0
------------------------------------------------------------------------------------------------------------------ -
Is there a problem running Java applications on my mac?
I am trying to set up a new website, and am therefore trying to upload photos. I get a warning message saying:
"this application will run with unrestricted access which may put your computer and personal information at risk. Run this application only if you trust the location and publisher above." and
"This application will be blocked in a future Java security update because the JAR file manifest does not contain the Permissions attribute. Please contact the Publisher for more information"
Does anyone have any advice for me?There is no official iBook app for the Mac, but there are plenty of applications for reading a variety of ebook formats as above. Another is Calibre, which can read the ePub format that is used for iBooks. The software is free, take a look here:
http://www.macworld.com/article/160425/2011/06/calibre.html -
Running java application without installing JRE
We try to run Java application without installing JRE, by copying java.exe (and other JRE files) together with our jar file. This does not work.
Can it be solved?Can you elaborate on the steps to create a java
application without installing JRE.
Regards,
padmaPadma,
The solution is to deploy my JAR together with JRE files, without running standard JRE installation. This makes possible to simply ensure that my JAR will run with THIS SPECIFIC JRE. This is important from QA point of view. Also, installation of my application does not change configuration of JVMs on the computer.
The solved problem:
Standard JRE installation may change the default JRE for many Java applets and application on computer. Changing version JRE may lead to some programs misbehaviour (JRE backward compatibility does not always work and different Java versions not always live together well). Thus, some IT departments are very nervous about JRE version change.
Hope, this explains my problem and the solution. -
How do i run java application on IIS
Hi,
Can I run java application on IIS(Internet information Server)?
If yes, How do i do that?
My java application contains JSP,Servlets and EJB.
To run java application on IIS which plug in should i use.
Can anybody help me This is urgent...........
ThanxYou can try using Macromedia JRUN version 4. Any of the version will have an ISAPI filter which you can add to the IIS site of your JSP/Servlet.
The JRUN ISAPI filter will establish connection to the JRUN proxy listener on a port. This port is called proxy listener port. Basically once you install the ISAPI, it will have config file called jrun.ini
Check for the ProxyPort entry in jrun.ini (or something like this - sorry, I can't remember the exact entry). It should match to the proxy listener port where of the server where your JSP/Servlet is intalled.
Good luck ! -
How do I run java application on IIS server
Hi,
Can I run java application on IIS(Internet information Server)?
If yes, How do i do that?
My java application contains JSP,Servlets and EJB.
To run java application on IIS which plug in should i use.
Can anybody help me This is urgent...........
ThanxHi
Check this article on JGuru. It explains how to use Tomcat together with IIS.
http://www.jguru.com/faq/view.jsp?EID=776546
If you also need to use EJB's you probably also want to have a JBoss installed - check www.jboss.org
/Peter -
How do i run java application in IIS
Hi,
Can I run java application on IIS(Internet information Server)?
If yes, How do i do that?
My java application contains JSP,Servlets and EJB.
To run java application on IIS which plug in should i use.
Can anybody help me This is urgent...........
ThanxCan i use EJB components in it?Yes, you can use EJB components. IIS uses Tomcat as a plugin and Tomcats feeds IIS with HTML code. Tomcat performes all the JAVA work including EJB. This links shows you how to install it:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html
Shoud be the same for version 4.1 -
Run java application on mainframes
i have a financial application which needs to run java application on mainframes. Any ideas how i may do it. where do i get the jvm for the various OS. !
Thank you all for the reply. I have noted regarding jvm for OS390. Trouble is we have > 30 banks where this application has to be installed and run and these are very old systems like nsk and ve. so this would mean we need to have the jvm for all the different OS running. i would collect more info on the various OS before deciding if it can be done in java.
-
How connect an HTML page to a running Java Application?
Hi,
Exists a way to connect an HTML page to a running Java Application?
the idea is, If we use SWT, the Browser widget have an instance of IE/Firefox attached to it, and we load local HTML pages inside, then i wish to have a way to bridge Java Application from HTML page. Then with that we can do follow JScript:
var javaApp = document.getJavaApplication(); //here is the trick
//below is like we do today with applets
var person = container.create("myapp.Person");
person.setName("Test");
container.save(person);its great if we can Have an attribute for object tag or anything to conect HTML page to Java Application.I think that the better idea is to create a new mime type for that, maybe "application/x-java-connect-to-local-jvm", and use embed tag, to connect via plugin to a running JavaApp
example:
<embed type="application/x-java-connect-to-local-jvm" width="20" height="20" mainClass="mypackage.AppName"><br>
<script>
var javaApp = document.embeds[0];
function createPerson()
var person = javaApp.getNew("mypackage.Person");
person.setName("test");
javaApp.save(person);
}The width and height, isnt necessary, but the view can be used to show red if connection failed and green for sucessfull connections, or maybe embed tag can have src to images for sucessfull and unsucessfull states.
That's the idea, there is a way to extend Java Plugin to achieve that?
any tip or idea or to achieve that, are welcome.
Thanks -
Running Java Applications as a Windows Service
Hi,
can any one help me to develop windows services in java.
Running Java Applications as a Windows Service
Any example or link please send me.
Thanks and regards.
Amit.See the Java Service Wrapper at
http://wrapper.tanukisoftware.org/doc/english/introduction.html
It's really good and easy to use.
Bye. -
Problem running java applications on Mac Mini.
Hi all.
I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page.
I downloaded and reinstalled java from Oracle website, but the problem remains unsolve.
Anyone can help me?
Thanks in advance.
Carlos.azofra1 wrote:
Hi all.
I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page.
What error indications do you get? You have to enable error logging in the Java Control Panel to see the details. -
Compiling java code from a running java application
How does compiling of java code from a running java application work?
I found a class: com.sun.tools.apt.main.JavaCompiler
but cannot find any documentation of how this class works.How does compiling of java code from a running java
application work?Probably most reliably using Runtime.exec().
I found a class:
com.sun.tools.apt.main.JavaCompiler
but cannot find any documentation of how this class
works.For a purpose. You are not supposed to use this class. With the next JRE release or implementation, it might not exist anymore - it's not part of the standard API. -
How can i run java application at system startup just liks as services
How we can run java application at the time of system
starts up just like as services.Hi,
At first you have to create an exe of the class file.
for that go to the site www.duckware.com/java2exe.html
Click on the j2exe23c.exe(75k) download it and install in ur system. convert the class file to windows exe.
The put the exe in the startup folder in windows.
If ur not able to find that folder search for it and put that exe in that folder.
Maybe you are looking for
-
My wife created a new account from our joint admin account. She also made that second account an admin. account. Then she went into the new account and played around with the file sharing option in system prefereneces. She was unable to get the accou
-
Lenovo K910 - safecenter app update to v6.0.2.133​2
After doing the OTA update for this app it's all in Chinese. It used to be in English. Is there a way to change to English or is it only in Chinese now? This phone needs COMPLETE ENGLISH support!!
-
Multiple JavaFX stages in fullscreen mode
I have an application that contains two stages which should be shown on two different screens both in fullscreen mode. I managed to position the two stages on seperate screens, and tried to set the fullscreen property to true on each Stage, but only
-
I can not run any Adobe application (Not responding) with a network account
HEllo All, My First question: Which impact will I have if I copy the content of /Users/Library/Preferences/ to: HD/Library/Prefernecs/ Here is my problem related to my first question: I installed Illustaror, photoshop, adobe Acrobat Pro, and adobe re
-
Timeline in 3 parts - how do i put it back to normal?
I dragged something at the side, and now the timeline looks like this: http://i.imgur.com/13SLZ.png How do i get rid of the top bit?