Not sure which instructions *gurro* used, but here is a link to the set of instructions that I posted on how to install the Oracle JDK 7 (Oracle Java SE Development Kit 7u6) on the Raspberry Pi.gworks wrote:I'm also interested in getting openbravo installed, where did you find those jdk instructions?
dan3008 wrote:Pays your money, takes your choice
this is what i hacked together to use the card reader:gworks wrote:...
also, anyone know of any pos solutions that would support credit card processing?
Code: Select all
[schneidz@hyper temp]$ cat ./stuff/gcj/credit-card-read.c
#include "stdio.h"
main(int argc, char *argv[])
{
int i, c;
FILE * fstream;
fstream = fopen(argv[1], "r");
c = fgetc(fstream);
for(i=0; i < 4059; i++)
fgetc(fstream);
for(i=0; i < 380; i++)
{
if((i - 1) % 8 == 0)
printf("%c", c);
c = fgetc(fstream);
}
fclose(fstream);
}
[schneidz@hyper temp]$ ./stuff/gcj/credit-card-read.x /dev/usb/hiddev1
4853980024xxxxxx^VISA CARDHOLDER/^11110000000000Thanks man! Greatly appreciated!!!Oakham wrote:This may give you a start of how to install from source:
http://dbc-customs.com/?p=77
http://sourceforge.net/apps/mediawiki/l ... sers_Guide