Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am new to Java programming language. And would like to do a small app to learn on and get a head start into java.
I use an app called unlocker from emptyloop dot com. But its got adware, etc. So I just wanted to learn how to write my own app for myself to delete undeletable file or folder in windows.
Can anyone help me out, or know where I can find an example, I tried googling, but had no luck.
Well, I guess Java wouldn't be the right choice for that since it's a platform independent framework. And 'unlocking' files is very platform dependent in my opinion
But maybe you take a look at ForceDel. It's open source software and claims to do what you are looking for.
ForceDel uses some exciting new APIs introduced with Microsoft Windows Vista to determine which processes have a specified file in use. With this information, ForceDel is able to close the file in the remote process address space and then delete the file.
Starting with version 1.2, ForceDel can also delete files on Windows XP.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I remember in the past there was an infrastructure given to the public to check the compatibility of the JVM and its libraries itself. If I am correct, that was Java Device Test Framework, which now has magically disappeared. In its place is only the Java Device Test Suite, which is actually only for ME edition (and commercial) or Java Compatibility Kit, which again is not open source & publicly available.
What I'd like to accomplish is to use these tests myself on other non "full JDK" JVMs, like Avian, MobiVM, CrossMobile or TotalCross, in order to have a rough estimation of what is missing and what to expect.
Definately I don't need to check the full JDK -- that would be out of concept. What I am more interested is more base functionality, i.e. things that one could find on the java.base (at most). So, is there any (preferably) open source toolkit available?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I built a Java game for a CS class. The code can be found here. The main class is Game.Java found here. I have a simple static website hosted on GoDaddy found here. I would like to allow a visitor to my website to play the game on a web browser I don't have a server yet, so I'll buy a basic
VPS through GoDaddy. Besides that, what's the best way to go about it? I think Applet is no longer supported by Chrome. Is Java Web Start the only way now? I would prefer if the visitor doesn't have to download anything. Any supporting material or YouTube video would be helpful as well.
Java is no longer supported by any modern browser, so the only way people will be able to play your game is to either include a client-side, JS/WASM-based library that sets up a complete JVM and then running the game inside of that on your page, or by giving people a link to your game's .jar file, so that they can download and run it on their own computer.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm trying to create an app for Android that simply sends a command to an SSH server. No response needed, I just need to be able to send a command. I was wondering if there's any java library out there that I could use?
No advanced stuff needed, just a pure connection to send the command.
You are searching for JSch.
Other libs are jaramiko, paramiko, trilead-ssh2 . A place where you can browse the source for trilead is the connectbot project. Please notice that connectbot also uses this unmaintained lib.
It also exists a commercial SSH Java lib: J2SSH Maverick
Note: Answer refactored due to comment.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does anyone knows of a library or a class that emulates the vt100 terminal (doesn't matter if graphical or not). What I want basically is a class that implements the logic of a vt100 terminal (like when receiving a "delete" code will call a delete function, or if GUI based that will delete one char).
Telnetd seems to be a complete and pretty well documented solution:
http://telnetd.sourceforge.net/
You can also try:
http://www.jcraft.com/jcterm/
It behaves like a VT100 and uses a SSH2 connection. But the website indicates the VT100 emulation is incomplete.
Have a look at the JediTerm project: https://github.com/JetBrains/jediterm
It has both graphical implementation as well as API to override.
Graphical version works for remote SSH connections(using JSch) and local pty(using Pty4J).
It is a mature project used for the embedded terminal in JetBrains products.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am looking for a translator for translate Java ByteCode to Machine Native Code before execution to improve performance.
I heard that OpenOffice is made with JAVA, but I can't see any jar file in his installation folder, therefore, maybe there is a translator but I can't find it.
Does anyone know some tool or comercial product to do that?
Thanks!
There are multiple solutions. All are not ideal.
Take a look here (exe4j). To learn more read this article.
Give a look to Avian JVM. See my reply here to this question for pointers on how to embed it and what class libraries you can use to generate your stand-alone executable.
if you just need a managed language/platform, you can also use .NET/Mono AOT. See the mkbundle tool included with Mono 2.x.
Please have a look into https://www.graalvm.org/.
It could build a native image from your jar and run it as binary (native code).