Create .rpm package for java - any automatic software? [closed] - java

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 want to create an RPM package for a java application. I have never done rpm packages and i still do not quite understand how to do it manually. Is there a software that can do this (or at least most of it) automatically ?. Currently if user wants to use application he/she has to download a tar.gz file, un-tar it and then run .sh file that takes care of the installation.
My dev workmachine is Windows ( don't bully me for that ! ) if that helps at all.
I have found THIS Software but i am not sure if its applicable to what i want to do. Please note that current project set up - is NON Maven
Any help appreciated

I use insall4j for this job. There is a ant task for creating installer (and launcher)

Some days ago, I found several softwares doing that on Sourceforge.net but one of them was just a graphical interface above RPM build tools, I needed to understand what to put into a spec file and in .rpmmacros... The other one seems too simple to do what I want. Currently, I'm trying to use Redline RPM pure Java library, you can use it with or without Ant if you want. I'm still trying to make it work as you can see here.

Related

How do I make windows applications using Java? [closed]

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
I'm a noob at this but iv been practicing a lot of Java and doing stuff with data structures and what not but I have no idea how to start making actual windows applications... Can someone point me to where I can learn this?
What do you mean by windows applications?
If you mean an application with windows, in the sense that you want an application with a GUI, then you should check out the resources from Oracle on using Java Swing to start with. Other options include JavaFX or AWT.
It is worth noting that there are command line applications. There is no definition of an "application" as specifically something that has a GUI. If you don't know how to make even a small command-line-runnable program in Java, you definitely need to start at the very beginning of the Java tutorials. Here is the Oracle tutorial on basic compiling and running, which applies to Windows as well. The DOS shell commands can be run in Command Prompt.
If you mean specifically how to package Java applications for Microsoft Windows, you should look at how to make JAR files and batch files. Optionally, you can also take a look at this question on SO. Brian Kelly's answer is really complete and teaches you exactly how to make an easy-to-use executable and installer.

Eclipse Plugin For: Creating, Connecting And Insert A SQL Database Into A Java Application [closed]

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
Is there a plugin for eclipse that allows the user to create, connect and insert a SQL database into an application, all from within eclipse?
I'm new to working with databases, while I understand the syntax of SQL well enough to write the code, I find working with external SQL software(MySQL and SQLite), then importing files into my application to be a little overwhelming at this point. Additionally, tutorials online seem varied, and multistage in such a way that I find it difficult to find "the right approach".
I'm sure this is something I will become familiar with in time, but for now I'd really like to just experiment by building simple applications that utilize a database.
I was hoping to streamline this process by finding a plugin that could handle most of the above for me. Preferably with heavy use of a GUI. Recommendations?
If such a plugin doesn't exist, or if you have other related suggestion about: software, tutorials, or advice on the simplest way to incorporate a database into my work, I'd like to hear that too.
Two finial questions. One, I've worked with MySQL and SQLite. Can/would you recommend alternative software for working with a Java application? Two, do I need to DL and install JDBC software or is that included in the JDK 8?
I'm currently running Windows 8.1 and eclipse Luna.
Thank you.
Take a look for following plugin:
Eclipse SQL Explorer
Eclipse Data Tools Platform (DTP) Project

Is There A Portable Java [closed]

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 6 years ago.
Improve this question
i was just wondering if anyone knew of a portable java IDE/Compiler? Something like an iPod but not so advanced, that let's you work with and compile java?
Just thought it would be a cool idea :P
This serves the purpose. We can compile the programs without requiring Java compiler on our machine.
There is an IDE for Android which supports this, see AIDE
Search for drJava. Is a pretty complex editor and includes a(n Eclipse) compiler.
Unfortunatelly, the project seems to be dead.
If you have an iOS device (iPhone, iPod touch or iPad) at hand, you can jailbreak it and install Java from Cydia. This gives you the compiler and the VM. However, it's old and limited to command line functionality.
You can use http://ideone.com/. This is a website for compiling and running java applications Here you can create an account and save all your example programs, which you can later refer from different location or even share it with others.
You can also practice other computer languages in it. It supports more than 40 programming languages.
Have you given any thought about using codenameone platform? http://www.codenameone.com/

Java Decompiler how to use? [closed]

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 have lost my sources but I have my executable .jar file. I want to apply JAD to it.
What options to use to start UI with all source tree of .jar file?
I'd recommend Java Decompiler
Download JAD Command..
paste it in your jdk/bin directory.
type in cmd [ jdk/bin> jad -sjava example.claass ]
Link below answers u in detail:
http://www.papervisions.com/get-java-source-file-from-class-file-how-to/
JAD has online, in-the-cloud interface now: http://www.javadecompilers.com/
I mostly use Javadecompilers.com to decode my Jar file. The site can also decode android applications (.APK) which, I think, is very good for those who are beginners in android application development since you can learn from source code !. This is not STEALING. It is just "Break the code to see how it was made so that you can learn from it" !

How to write a self-updating program in Java? [closed]

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
How can i make a Java program which can update itself. I make this program for use within small team. I do not need any advanced features. I just need a simple and minimal solution.
Java Web Start is meant specifically for this. You ship one jnlp file, and java takes care of fetching the newest version from a server.
Apart from that, you can download updated classes and replace them at runtime.
What do you mean by self-updating ?
If you mean that it changes its behavior at runtime (which is rare), you could create code that writes java code, compiles it, and loads it from within a running program. I've seen that done.
The more common scenario is to have a core program with plug-ins, where the plug-ins themselves can be updated at runtime. The simplest way to do this is simply to use interfaces for these services and then load instantiations of these types at runtime. However, writing a fully robust plug-in framework is usually reinventing the wheel. There are many existing architectures such as OSGi.

Categories