Open-source operating systems in Java [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 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.

Related

Java 8 Mvn Project doesn't work on Java 17 [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed last year.
Improve this question
I have a Maven Project which was written using Java 8. If I try to run it in Intelliji using SDK 17 everything is red and it doesn't work at all. If I use Java 8 however it works. Why doesn't it work with SDK 17? It should be compatible.
Errors in my Code
Those errors are JavaFX related, not Java in general. JavaFX has never been a standard part of Java SE.
You need to either:
Add an implementation of JavaFX to your project. Add dependencies to your project for the OpenJFX library. That code base for that implementation is housed as a subproject on the OpenJDK site, and is co-led by Gluon and Oracle.
Use a Java implementation that includes the OpenJFX library. At least two vendors offer an edition of their JDK product with OpenJFX: ZuluFX by Azul Systems, and LibericaFX by BellSoft.

Is there an Android SDK for Linux? [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 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.

How to install java for firefox in unix? [closed]

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.

Is JDK8 compatible with Windows XP? [closed]

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 8 years ago.
Improve this question
I found it is possible to install JDK8 on Windows XP (to avoid install error - we have to change jdk-8u11-windows-i586.exe file with some HEX editor (for example free XVI32) and change string RegDeleteKeyExA with RegDeleteKeyA filling zeros instead two last letters).
But I wonder if the JDK8 will work without further problems - I mean related to various .dll and other files of Windows XP?
First link on Google:
Can I install Java 8 on Windows XP?
Java 8 is not supported on Windows XP, and Windows XP users will be
unable to install Java 8 on their systems as there are known issues
with the installer on Windows XP that prevent it from installing
without manual intervention. If you are on Windows XP it is not clear
that it is worth updating to Java 8 without also updating the OS.
Microsoft doesn't support Windows XP, nor does Oracle.
But it is possible to install it on Windows XP
You can install it but it may or may not work. Even if it works, doesn't mean it is supported.

How to install Sun Java on Debian? [closed]

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 9 years ago.
Improve this question
On current Debian testing, I am unable to install sun-java6 packages. They are not in the repository. Legacy software depends on them, I must install them right now.
Check the following wiki regarding Java installation on Debain:
https://wiki.debian.org/Java/Sun
Try this:
to install Java Development Kit(jdk)
# apt-get install sun-java6-jdk
or the Java runtime environment (jre):
# apt-get install sun-java6-jre
Source: https://wiki.debian.org/Java/Sun
Here's another resource (for Ubuntu) that includes instructions for manually installing Oracle (aka Sun) Java 6 on Ubuntu. I think that the instructions should work for Debian too.
https://help.ubuntu.com/community/Java
The page also covers other versions of Java.

Categories