Go to advanced search

by zeddex
Thu Jul 07, 2016 12:15 pm
Forum: Java
Topic: IDE for raspberry pi 3
Replies: 5
Views: 3118

Re: IDE for raspberry pi 3

by zeddex
Fri Mar 13, 2015 2:52 pm
Forum: Java
Topic: Java Programming on pi
Replies: 6
Views: 3193

Re: Java Programming on pi

JBerries is a lightweight Java IDE specifically designed for the Pi: http://sourceforge.net/projects/jberries/.

For more information, see the quickstart guide here: http://jberries.sourceforge.net/index.html
by zeddex
Wed Dec 10, 2014 5:47 pm
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Re: Introducing JBerries

Yes. The jar exporter is designed to work with project resources only - anything outside the project will have to be added manually.
by zeddex
Wed Dec 10, 2014 4:55 pm
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Re: Introducing JBerries

To add additional resources to the jar you need to first add them to the project. The simplest way to do this is to create the folders in the project 'src' directory and add them to the project using the project menu 'Include Files' option - select the folders in the selection dialog and click 'incl...
by zeddex
Sun Dec 07, 2014 7:10 pm
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Re: Introducing JBerries

Hi

To run a jar file you need to add the '-jar' switch to the java command, e.g.:

Code: Select all

$ java -jar myjarfile.jar
Hope that helps.

Steve
by zeddex
Sat Oct 18, 2014 7:18 pm
Forum: Java
Topic: Java IDE?
Replies: 5
Views: 7407

Re: Java IDE?

JBerries is a simple Java IDE for the Raspberry PI:
http://sourceforge.net/projects/jberries/

Here's my original introduction:
http://www.raspberrypi.org/forums/viewt ... 81&t=65974

User guide is here:
http://jberries.sourceforge.net/index.html
by zeddex
Wed Feb 05, 2014 1:36 pm
Forum: Java
Topic: JBerries Quick Start Guide
Replies: 0
Views: 551

JBerries Quick Start Guide

Hi

A quick guide to getting started with JBerries is now online at: http://jberries.sourceforge.net/index.html

Steve
by zeddex
Sun Feb 02, 2014 9:37 am
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Re: Introducing JBerries

Hi

The latest version is 1.0.43 - is this the version you downloaded? If so you need to install using the command:

Code: Select all

sudo dpkg -i jberries-bin-1.0.43.deb
Steve
by zeddex
Sat Jan 11, 2014 10:03 am
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Re: Introducing JBerries

I can't provide any help with Xming as I've never used it. Have you tried running directly on the Pi?
Alternatively, I'm guessing you don't actually need root to compile, just to run so perhaps you could compile in JBerries as a normal user and run the compiled class from the command line with sudo.
by zeddex
Fri Jan 10, 2014 10:31 pm
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Re: Introducing JBerries

The compiler runs as part of the IDE so if you want to compile as root you'll have to run JBerries as root. One way to do this is to copy the JBerries startup script (/usr/bin/jberries) and update it to this: #!/bin/sh sudo java -splash:/usr/lib/jberries/jberries-loading.png -jar /usr/lib/jberries/J...
by zeddex
Fri Jan 10, 2014 8:04 pm
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Re: Introducing JBerries

If you're working with the GPIO pins you might want to run your program in a terminal. By default program output appears in the IDE output window and is non-interactive; all the program output is gathered together and presented in the window once the program has completed. To allow interactive/real-...
by zeddex
Fri Jan 10, 2014 7:52 pm
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Re: Introducing JBerries

Hi Yes, you'll need to add the relevant pi4j jar files to the Java classpath. To do this access Preferences from the Tools menu and select the Build tab. Click the Edit button next to 'Java class path' and enter the full paths of the jar files you need, one per line, and click save. http://jberries....
by zeddex
Thu Jan 09, 2014 6:58 pm
Forum: Java
Topic: Introducing JBerries
Replies: 17
Views: 4284

Introducing JBerries

Hi To help with developing Java code on the Pi I've put together a simple IDE named JBerries. It provides a multi-window text-editing environment complete with syntax-colouring, find/replace, code-folding, bookmarks, keystroke macros and code templates. Java programs can be compiled and run as singl...

Go to advanced search