i want a java editor with embedded compiler and work under linux and did not require a a big amount of ram

I want a Java IDE with a compiler for Linux and that does not require a a big amount of RAM. I have 256 MB of ram, so my options are limited

Asked by: Lucas431 | Posted: 23-01-2022

Answer 1

In my first programming courses, we used BlueJ as our "IDE". Really basic, yet gets the job done. It honestly don't have a lot of features, but it's lightweight, portable and effective
You have to link it with an external compiler though, but it shouldn't be a problem if you already develop in Java with this computer.

Answered by: Max239 | Posted: 24-02-2022

Answer 2

Eclipse would be the last thing you want. I can gather you've probably already tried it from the title. For a small footprint I'd suggest JEdit. It's much smaller, mature and extensible. There's also Kate if you run KDE. While it doesn't have the embedded compiler support you could add one in as an external command.

Answered by: Miller937 | Posted: 24-02-2022

Answer 3

What do you mean by "IDE".

You could use Emacs with that kind of memory foootprint, use Ant for the builds and emacs would allow you to debug in the editor, and also take you to compile errors...

But it would not have a GUI development component.

For more detail on using Emacs as a full featured Java IDE, read this IBM document:


Answered by: Alford606 | Posted: 24-02-2022

Answer 4

Does the 256MB of RAM also include program space, or will the code be stored elsewhere in flash or another memory type?

You can get embeddable java machines, and small java compilers for linux. The IDE, however, is tricky as you don't merely say editor, but you want a whole integrated environment.

Since you have Java installed already, I suggest Eclipse. It seems bulky and resource intensive on PCs, but you can cut it back significantly by removing features (classes) you don't want/need.


Answered by: Luke650 | Posted: 24-02-2022

Answer 5

jEdit will work easily.

Eclipse 1.x will work in that amount of RAM. Depending on your version of java, Eclipse 1.x will definitely work in that RAM.

Answered by: Julian110 | Posted: 24-02-2022

Similar questions

java - Sending mail along with embedded image using javamail

I want to send mail along with embedded image. For that i have used the below code. Its not full code. Its a part of code Multipart multipart = new MimeMultipart("related"); // Create the message part BodyPart messageBodyPart; messageBodyPart = new MimeBodyPart(); messageBodyPart.setText(msgBody); // msgbody contains the contents of the html file messag...

java - JavaFX: Embedded JavaFX applet loses width and height?

I have a JavaFX applet with the stage's initial height and width defined as such: var stage:Stage = Stage { title: "Blah" scene: Scene { height: 768 width: 1024 fill: Color.WHITE ... Additionally, I have elements laid out in the scene that are bound to the height and width for layout purposes. All works fine as a Desktop program. However, when I emb...

java - Doing an embedded HTTP server with Comet

I love the idea of Grizzly, but I can't find any good examples to work with. Well, any good tutorial... I want to have an embedded HTTP server that I can talk to from Dojo. I don't want a J2EE server and I want to use Java. What do you folks think?

java - How to reduce size of RTF with embedded images?

We have some code which produces an RTF document from a RTF template. It is basically doing string search and replaces of special tags within the RTF file. This is accessible via a web page. Typically, the processing time for this is really quick. However, we need to embed an image within a template. We've been embedding these as JPEG images using Word's "Insert/Picture/From File..." functionality. But w...

java - How to Use Grizzly Embedded Server for Mule as Well as Jersey

I'm currently using JerseyTest w/ Grizzly embedded server to test some code. I do some very simple configuration to point it to the proper resources: Map<String, String> initParams = new HashMap<String, String>(); initParams.put("com.sun.jersey.config.property.packages", "com.sample.service"); ApplicationDescriptor appDescriptor = new ApplicationDescriptor(); appDescriptor.setServletInitParams(i...

java - something funny with embedded hsql

i'm just curious about something.I'm using hsql in myproject (embedded of course).At some time i felt the need to visualize what hibernate was generating.I took a free copy of dbvisualizer. here is the hsqljdbc.properties jdbc.url=jdbc:hsqldb:file:mydb;create=true hibernate hbm2ddl.auto=create i downloaded the hsql 1.8.0_10. i did all the required procedure.i could con...

java - How to back up the embedded H2 database engine while it is running?

I would like to build up an web application with H2 database engine. However, I still don't know how to back up the data while the database is running after reading this tutorial: http://www.h2database.com/html/tutorial.html#upgrade_backup_restore Does H2 output its stored file to somewhere in the file system?...

java - Embedded Jetty and SOAP

I am trying to run an embedded Jetty and would like to expose a soap webservice. The project is loaded as a WAR generated by netbeans. The webservice is generated from a WSDL. What is the simplest way to add SOAP support to embedded Jetty

java - jpa embedded class need cachable?

my entity class is annotated with @Cache, my primary keys are combined of few table fields, primary keys are embedded into this class as embedded class. Do I need to put @Cache for the embedded class as well?

java - Embedded Applet in swing app causes paint problem

What I have is an Application that uses swing components (jpanel, jbutton, jlabel, etc), however I have to use an old PDF viewer (upgrade is not an option) that is based on java.awt.Applet (com.adobe.acrobat.Viewer). The problem comes when I am trying to display it, it draws properly however since this PDF viewer is inside a JScrollPane, it draws over all of the swing components (over the scroll bars and the menu).

Still can't find your answer? Check out these amazing Java communities for help...

Java Reddit Community | Java Help Reddit Community | Dev.to Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)