Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am having an application that runs on JVM. So, I need to build custom linux with JVM and my application that comes with installation.
Take a look at:
http://www.linuxfromscratch.org/ - let's you build your own Linux distribution. It a little overhead, IMO, since you have...
Red Hat's Kickstarter - use Red Hat, but with custom install script which will be able to install a JVM and your app automatically, during installation.
Ubuntu has preliminary support for Kickstarter as well, so you're not limited to Red Hat.
I don't think you need custom Linux Distribution for your use case. Just take one of the well-tested, supported distros out there (Red Hat, Ubuntu, Debian) and create an automate installation script. This way your app will be live right after installation, and you'll still get the benefit of having support, package manager etc.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
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.
Closed 7 years ago.
Improve this question
I reinstalled the jdk after the installation of the new operating system, and set the environment variable of the system accordingly. I also restarted the computer after the reinstallation and the setup of new environment variable. Still, i am not able to run any java programs on my computer.
https://onedrive.live.com/redir?resid=B2D6F26E24ACBDB2!2168&authkey=!AJaB6lD3MDO37hA&v=3&ithint=photo%2cpng
https://onedrive.live.com/redir?resid=B2D6F26E24ACBDB2!2167&authkey=!ADKlC8-dOFuH77Y&v=3&ithint=photo%2cpng
if you install jdk and java SE correctly
2.then download netbeans from netbeans.org/downloads/. Make sure that you are downloading netbeans 8.0.1. it will automatically fix errors and install necessary file.
after installation go on Cmd and type Javac
follow will be the screen of cmd after running this specific command
enjoy 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 7 years ago.
Improve this question
I'm trying to understand if there is an Android SDK available for Linux ppc64. I downloaded the Linux SDK tools only package from here (android-sdk_r24.3.3-linux.tgz at the time of downloading), but when I try to run tools/android from the downloaded package, I get an error message saying:
SWT folder /home/user/android-sdk-linux/lib/ppc64 does not exist.
Please export ANDROID_SWT to point to the folder containing swt.jar for your installation.
It appears that the error is correct; only x86 and x86_64 directories exist in lib that contain swt.jar files.
I would assume, therefore, that the Android SDK is only available for Linux x86. But I can't find a definitive statement anywhere. Can someone confirm? If not, where would I get a ppc64 version of the SDK from?
I would assume, therefore, that the Android SDK is only available for Linux x86. But I can't find a definitive statement anywhere. Can someone confirm?
I can confirm that there is no official distribution of the Android SDK for any architecture other than x86.
Now, some people have cross-compiled the toolchain to run on ARM, so I suppose there's nothing necessarily preventing somebody from taking similar steps to get it working on other architectures. That being said, since the PowerPC architecture has been largely ignored since the turn of the century, I doubt that anyone has had the itch to scratch.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
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.
Closed 7 years ago.
Improve this question
I need to run java applet in my Linux machine. So I tried the steps in java.com to install JRE. What should I do after extracting JRE .tar file.I want the java to be available in my Firefox?
You're most likely not looking for JRE, but instead to install the JVM Java install. ie. 'Java 8 update 56' (or the simplified revision download) etc. rather than JRE 8.56.#... Note: The differences in both installs is quite small, but should follow the same steps either way.
The official home of Java and respective download links.
It should be as simple as following the install requirements here. Download the RPM and as an administrator account run (replacing rpm location):
rpm -i /path/to/java.rpm
More information on installing the Java RPM
Edit: If using Ubuntu, there's a perfect answer for this over in the Ubuntu distro forum.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I have an application written with Java and eclipse in windows 7. I need to know that can I run it on Linux? If not, what should I do to run it in Linux. It's a windows application built with Window Builder on Eclipse.
Thanks
If the application is in java then you can surely run it in linux because java is platform independent.All you need to do is to install java in your linux system
There is a saying, Write once, run everywhere, for java. Since Java is platform independent, you can run on any OS.
Just make sure you have Java in your Linux.
Read this wiki.
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 want to download and try an Open-Source OS (Emulation) written in Java. So, I searched and download the, arguably, most famous one I found, which was NACHOS 5.0j.
I have just installed a fresh Ubuntu 10.04 LTS and installed the open-JDK 1.6 through apt-get and then installed eclipse in a similar manner.
After following the readme in NACHOS, I fired terminal, and used gmake (make), and got a bunch of errors and warnings. The one that's bothering me the most is:
as of release 1.4, 'assert' is a keyword, and may not be used as an identifier
(use -source 1.3 or lower to use 'assert' as an identifier)
Debug.assert(isReadyForApply);
Problem is, I tried downloading another open-source OS called JX, and had a similar problem.
Any help in this issue is appreciated! Any other ideas on where to start learning about operating systems and Java is even more appreciated! (But something practical.)
I think you need to add a argument -source 1.3 while compiling or running that OS
I found following information from web, basically, you should use java 1.3.1. it is open source, and you can modify the source code to make it run under JDK1.6 if you like.
The Java version of Nachos only
supports Java 1.3.1, as the security
manager and set of reserved keywords
has changed in later versions.
Instructional machines already have
1.3.1 installed. For remote users, you can download 1.3.1 here:
http://java.sun.com/j2se/1.3/download.html
. If you are curious to see what
version of java you are using you can
run the following command "java
-version". We cannot stress strongly enough that you should not use java
1.4 or java 1.5. You might run into transient errors that will not show up
as warnings or errors during compile
time.