Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'd like to install a Java application as a Windows service. I did so successfully a couple of years ago using this Java Service wrapper. Unfortunately, it seems like this tool is not in development anymore and thus no Windows 7 and 64 bit versions are available. I need to install my Java application on Windows 7 and XP machines.
Does anyone know a good alternative?
Edit: I need this for commercial use; the suggested Java Service Wrapper from Tanuki is too expensive.
Some time ago I used the tanuki project and we were very happy with it. I believe is one of the most popular ones.
There is also YAJSW that is based on tanuki (as I understand ) with a LGPL licence
I'm now using WinRun4J - a really nice, lean tool that is easy to configure and handle and usable in commercial applications. Many thanks to assylias, whose comment pointed my in the right direction.
I have used Tanuki's Java Service Wrapper with great success; it's easy to use.
There are community packages (free) and professional packages (license).
AlwaysUp is a commercial alternative that supports Windows 7 and XP. This step-by-step tutorial shows you how to setup a java application as a service.
I have recently used Java Service Wrapper from Tanukisoftware and it works perfectly on windows 7. Also the tool is pretty handy as it provides pretty extensive integration mechanism from simple jar execution to shutdown hook functionality as well.
For normal use, you can use their Community License which falls under GPL v2.0, however keep in mind if your intended use is on server, you might have to double check licensing options.
Also windows resource kit includes a tool called servany.exe which i successfully used on Windows Xp to start a jar file as a service by lanuching java.exe with arguments to my jar file, however since windows 7 this somehow does not work.
You might want to do a little research since i have read some forums about people still affirming that it works.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I have seen that if you have a 'new' version of java in your browser, then you are not in danger of having a malware capable of installing into your computer automatically from seeing a web page, by using a java ... flaw.
Can you please tell me which is the java 'safe' version, that does not allow the malware to automatically install on computer?
(I really need to know if I was exposed to infection yesterday... is java 6 a 'good' choice)
The thing is that I want to be sure that I am 'safe'.
I want to be sure that I am 'safe'
The only way to be sure you are safe from malware from Java exploits is to uninstall it completely. The best that can be said of the latest, most secure Java version is that it has no known security bugs.
Java has reached 1.7, so just about any 1.6 version should be considered unsafe.
the thing is that I have used yahoo and there seems to be a problem Malicious advertisements served via Yahoo
That page notes:
The investigation showed that the earliest signs of infection were at December 30, 2013. Other reports suggest it might have started even earlier.
Now let us look at Release Dates for Java 6. The last publicly available Java 6 version is:
Java SE 6 Update 45[76] 2013-04-16 42 security fixes;[77] other changes;[76] final public update[78]
Or April 16th, last year. Some 8 months before that security alert.
Like I have been saying. Every publicly available version of Java 6 should be considered suspect. Every - single - one.
You should run a Malware checker on your machine.
But your answers & comments indicate to me something more. You don't really need to run Java applets in the browser, and probably do not need it for any other reason, so also uninstall Java completely.
And I do mean uninstall it, I do not mean not disable it, I do not mean not keep it up to date. You do not seem to need it on your PC, so don't take the risk.
Java is actually one of the most secure languages since it has a built-in security manager that can be used to sandbox applications and does a lot of built-in array out of bounds checks to prevent things like buffer overruns.
However, there have been a lot of problems in recent years regarding the security in Java applets. These are Java programs that can be run from a webbrowser. Applets have an even stricter sandbox to prevent the applet (or the website) from accessing your filesystem etc but there have been bugs found that can allow malicious code to escape the sandbox. These bugs are patched as quickly as possible so it is important to update Java (and keep up to date) on a regular basis.
If you don't need to run applets in your browser, the best thing to do to avoid these problems is to disable applets in your browser. This link can be used to learn how to disable applets in your browser of choice
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I know that Community ediition doesn't support certain features of Ultimate but I want to know that there is NO way to make these features to run in anyway. For example, the Enterprise development (e.g. Tomcat, Glassfish, Oracle, etc.) or Web development (e.g. Spring, HTML5, etc. ). So, if I have to run these kind of development somehow can I succeed in doing these things only with the Community edition or I am locked and not able to do such things. Say, I don't have the luxury to go to Ultimate for some reason.
If you are a cheapskate use the EAP from Jetbrain's Confluence page.
The early access might have bugs - but it's free, has all the features of the Ultimate edition, and then some.
You may use IDEA Community Edition for editing the code, you just won't get any features specific to the servers you're using, e.g. run configurations. You'll have to launch your application using the command line. You'll be able to use Artifacts feature to build all the jars you need.
You won't get any Spring-specific code completion or code inspections, but you'll get a decent XML editor for its configuration files. You'll get some basic HTML editing features, but no JavaScript.
There's no way to get those features out of IntelliJ IDEA Community Edition source, they just aren't there.
BTW if you use Ultimate EAP as NimChimpsky suggests, and report plenty of bugs, the developers might be grateful for them and give you a free license in return at the moment of the release (around December).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have tried using some browser based IDE's like cloud9 IDE recently. But it doesn't have direct support to code java programs. And I also read that we need to follow certain tedious procedures to write and compile java codes.
Is there any browser based IDE that will permit me to code and compile and share java applications directly? Also, does it have support for java web applications?
A good choice would be Koding.
It offers a free VM with root access, 4Gb disk, 2Gb ram and a burstable CPU.
You can basically install anything on it and it will run because behind all the UI it's a virtual Linux machine.
You can code your Java apps and run them afterwards directly in the browser.
There are a lot of Java developers and even groups that offer support. It offers collaboration features and you can code with your developer friends.
There is an ide called eXo Cloud IDE which has support for java language programming.
It is the only cloud IDE to support java language according to this link http://www.sdtimes.com/link/35860.
But this IDE is still in the beta stage.
It's pretty minimal, but http://ideone.com will let you compile and share basic Java programs.
I would not recommend any web-based IDE for serious Java development at this time.
Exo IDE, published by Exo Platform, is a cloud IDE that is focusing primarily on compiled languages with their first target being Java. They have support for maven, a variety of Java project types, auto completion, some types of code refactoring, JRebel, a range of PAAS integrations to deploy the Java project to. http://cloud-ide.com/
Disclosure: This product is going to be spun off from Exo Platform into a new company, and I'll be involved with that firm.
Here's a few to try.
Ace
Amy Editor
Koding
My team and I work on building http://www.cloud-ide.com with a clear focus on Java.
Check that video that shows how you can Debug Java apps in the cloud directly from the IDE: http://vimeo.com/40872612
Eclipse foundation launched their web-based IDE: Orion
I guess it is going to be an important contender.
For Java, https://codenvy.com has a powerful Maven based editor that offers git integration, build, run, and deployment. they also plan to expand with other build/run environments this year.
Also if your an Eclipse fan, Codenvy looks very eclipsy*. With a Java debugger which I think is a must for any editor.
Here is another one, JDoodle.com, in this you can run save and share java programs online.
http://www.compilejava.net/
Here's a new one, which DOES support Applets as well. You don't need to sign up to use it.
there is new one - goormIDE
http://goorm.io
http://github.com/xenoz0718/goorm
if you use node.js, just type this : npm install goorm -g
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Its being a almost 2 months since is started to work with JEE6 and JSF 2.0.
I have to say that in this time i learned lots of things and every day i like the world of JEE6 more and more :)
Now that i understand the very basics the components that i use in my JSF pages, i would like to find some gadget that can help me speed up a little bit my programming(Currently i write all my pages in Eclipse Helios HTML editor).
What i am thinking about is a component palette, plugin for eclipse or desktop software (I dont need a brand new IDE, i already use eclipse Helios) that can help me create a JSF pages within minutes.
Back in college when i started using swing i discovered JFormDesigner it was a really great tool, i was able to create very rich GUI within minutes, it was really easy to use an very intuitive for learning.
I am wondering if is there any tool like that out there, but just for JSF 2.0.
Any suggestions?
You can try and use JBoss Tools.
I used to have all sorts of visual functionality with it - although, some times I tended to do things by hand as it was quicker.
You have the option to install the plugin or simply pay for the IDE: as you probably know, the difference is that buying the IDE you get support from JBoss. Using the open-source version you are getting a version with probable bugs, but workable.
I've been using the open-source version for almost 4 years now and love it.
Good luck!
Inside Netbeans, there is a Palette menu that allow you to create dataTable, edit form ... for entity object in one click. This become very handy for me. Oracle have JDeveloper which, imho, is very awesome. It allow you to create a simple CRUD Java EE web app without even writing a single line of codes. There is a demo on how to use JDeveloper here. Dont forget tool like DreamWeaver can allow you to create rich layout very quickly as well.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I really need an easy to use build tool which supports multiple languages with strong Java support. I have tried Scons but found the Java support lacking. Is there anything else out there? I'm not excited about learning yet another build tool. Also, I really don't want a build tool which is difficult to use without an IDE since I use emacs and will be writing the build scripts by hand.
Edit:
When I said general purpose I meant a build tool that works with many languages. I'd like to save myself the time spent learning a new build system for every languages I use.
http://ant.apache.org/
Here is how to do C++ projects with Ant: http://www.codemesh.com/products/junction/doc/ant_cpp.html
Or http://ant-contrib.sourceforge.net/cpptasks/index.html
Ant, Maven, and Gradle all are designed for building Java applications.
EDIT: Let me expound....
Ant is a really good option. As the first very good open source java build system, it has grown to be a popular and widespread option. Most anything you will do in a typical java system has been done through Ant. You can find sample after sample and great tutorials on learning this. Now, just because it can handle everything doesn't mean it's quick and painless. There's a lot of 'boilerplate' build.xml that you almost certainly will be writing. Also, there is no dependency management.
Enter Maven -- Dependency management is handled very well here. Merely specify the name of the jar(s) that your project depends on and it will ensure that you have the appropriate version. Also, the help and tutorials available are very good and you can be up and building in 5 minutes.
Gradle -- this is a newer build system, built to take out most of the pain points and boilerplate code. This is a great option if you are interested in using/learning Groovy!
I would recommend ant. I used it for a java project and it worked great. But we had help from a person experienced in writing the build scripts so I don't know how easy it is.
I recommend Hudson as a general build management solution. You configure jobs and we point it at our revision control system to watch for checkins. It has strong java support, but can run any job as the build process, including chaining of jobs together.
Ant.
Most java online tutorial use Ant as build tool. You can find how it works by reading java tutorial.
You don't have to learn every single command in ANT, just learn a few which are useful :)