You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

mattgates

Beginner

  • "mattgates" started this thread

Posts: 2

Date of registration: Dec 16th 2010

  • Send private message

1

Thursday, December 16th 2010, 2:42am

Jabaco for Mac OS?

I found a link to such a file. Unfortunately, when I tried to open it, I get the error message:

The Java JAR file "Jabaco201010010500.jar" could not be launched.

I know Jabaco is mostly in beta right now for Windows and likely Mac OS. But is there a working version of Jabaco for Mac? Definitely would love to continue programming on the Mac side instead of switching to boot camp.

This is the link that had the Mac Jabaco file.


http://www.downloadplex.com/Mac/Developm…mac_296926.html

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Thursday, December 16th 2010, 11:10am

The Jabaco IDE is only available for Windows (or Windows emulations).
The resulting Jar files can be executed under Unix or Mac OS if a suitable Java runtime environment is present.
To actually execute a Jabaco jar file you have to use the "java" command.
A jar file on its own is not executable.

There are a couple of posts in this forum on using Jabaco executables under Mac.
But most users tend to be on a Windows machine.

Please report your findings!

Greetings

A1880

mattgates

Beginner

  • "mattgates" started this thread

Posts: 2

Date of registration: Dec 16th 2010

  • Send private message

3

Friday, December 17th 2010, 3:58pm

Jar files are executable with the Jar Launcher that Mac comes with. I've loaded other Jar files without any problem. I just get the same message telling me to check the Console.

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

4

Friday, December 17th 2010, 4:34pm

The filename you reported looks like the name of a Jabaco framework.
The framework is not runnable as such. It includes all the classes which can be used by Jabaco applications.

To actually run a Jabaco application, you have to create a Jar file which includes framework as well as application.
Make sure that the framework file you are using is larger than 500KByte. A smaller size indicates that the
framework compilation run was prematurely aborted thus leaving behind an incomplete framework.
Download an elder framework in case the latest version is incomplete.

To repeat the steps:
1. Use a Windows-based system to write your Jabaco application and compile a Jar file
2. Transfer the Jar file to your Mac
3. Execute the Jar file by using some Java jar launching command

Potential pitfalls:
a. Don't use Windows-dependant features in your application (WINAPI, RichTextBox, ...)
b. Avoid missing references in your Java Runtime Environment
You might need to supply missing classes by providing your own "mock jar"
to work around "class not found errors"
c. Some systems require that jar files (eg for Java Applets) a properly signed.
use the Java jarsigner tool for that.

Success!

A1880

OlimilO

Intermediate

  • "OlimilO" is male

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

5

Saturday, December 18th 2010, 7:12am

Hi,
If someone wants to test the executables, made by jabaco, under different OS and/or different machines, you could start this one first:
http://www.mbo-ing.de/_downloads/ControlSample.jar

in IE: first click "open" then click "admit"

in FF: select "Open with" select "Java(TM)..." and click "OK"

in Opera: click "Open"

this is just the ControlSample that comes with the framework.
Just to be sure "Yes, Jabaco does the job" :)

regards
OlimilO

This post has been edited 1 times, last edit by "OlimilO" (Dec 18th 2010, 7:19am)


Rate this thread
WoltLab Burning Board