Language - Java: Difference between revisions

From Phidgets Support
(Created page with 'Preamble about the language and its general strengths and weaknesses. ==Assessment for use with Phidgets== Our honest opinion on how well this language is suited to controlling …')
 
No edit summary
(279 intermediate revisions by 9 users not shown)
Line 1: Line 1:
Preamble about the language and its general strengths and weaknesses.
[[Category:Language]]
__NOTOC__


==Assessment for use with Phidgets==
We provide support for the Java language in all major operating systems. We also provide instructions on how to get your project started in a number of common development environments. Select your operating system and preferred development environment below, and follow the instructions to get your project running with Phidgets.
Our honest opinion on how well this language is suited to controlling Phidgets. If it is a poor choice, suggest and link similar (better) languages.


==Support==
If you do not know which development environment you want to use, or your development environment of choice is not listed, we recommend starting with javac as the simplest path to getting your code running.
We provide [[Levels of Support|full support]] to Java.


==Restrictions==
General information of how to use Phidgets with Java can be found in the '''Write Code''' section of each development environment page. This information is consistent across all pages.
In this section, list any restrictions or limitations that this particular language may impose. For example, incompatibility with certain operating systems.


==Development Environments and Compilers==
==Choose Your Development Environment:==


Describe each major compiler and notable differences or important information. (eg. framework versions) If there are known issues/workarounds mention them and link to the corresponding issue at the bottom of the page.
{{Language_-_Java_Dev_Environment_Table}}


==Drivers, Libraries and Resources==
== Quick Downloads ==
Before you can run your program, you need to set up the proper environment and get the necessary files off the Phidgets website.
Visit the drivers section at www.phidgets.com and get the latest:
* [http://www.phidgets.com/drivers.php Phidget Framework]
* [http://www.phidgets.com/downloads/libraries/phidget21jar_2.1.8.20110615.zip Phidget21.jar]
You will need the Phidget Framework to use and to program with Phidgets. We also recommend that you download the following reference materials:
* [http://www.phidgets.com/documentation/JavaDoc.zip API Manual]
* [http://www.phidgets.com/documentation/web/javadoc/index.html API Reference]
* [http://www.phidgets.com/downloads/examples/JavaJNI_2.1.8.20110615.zip Java Sample Code]
* You can find a high level discussion about programming with Phidgets in general on the [[General API]] page.
* The [[Device Functionality]] page explains the general operational information for your device.


You may want to have these pages open while working through these instructions.
If you already know what you're doing and just need the files, you can find them all below.


==Getting Started==
=== Documentation ===
Here we provide a basic setup guide and code samples to start a project from scratch.


==Building your Project==
*{{Phidget22API}}  (select Java from the drop-down menu)
Describe the different ways a project could be built using this language.


==Common Problems and Solutions/Workarounds==
=== Example Code ===
Here you can put various frequent problems and our recommended solutions.
 
*{{SampleCode|Java|Java Examples}}
 
===Libraries===
 
{{AllQuickDownloads}}

Revision as of 19:17, 13 December 2018


We provide support for the Java language in all major operating systems. We also provide instructions on how to get your project started in a number of common development environments. Select your operating system and preferred development environment below, and follow the instructions to get your project running with Phidgets.

If you do not know which development environment you want to use, or your development environment of choice is not listed, we recommend starting with javac as the simplest path to getting your code running.

General information of how to use Phidgets with Java can be found in the Write Code section of each development environment page. This information is consistent across all pages.

Choose Your Development Environment:

Java Development Environments
OS - Windows Windows

JAVA JC WIN.png JAVA JC WIN on.png

JAVA NETBEANS.png JAVA NETBEANS on.png

JAVA ECLIPSE.png JAVA ECLIPSE on.png

OS - macOS macOS

JAVA JC TRM.png JAVA JC TRM on.png

JAVA NETBEANS.png JAVA NETBEANS on.png

JAVA ECLIPSE.png JAVA ECLIPSE on.png

OS - Linux Linux

JAVA JC TRM.png JAVA JC TRM on.png

JAVA NETBEANS.png JAVA NETBEANS on.png

JAVA ECLIPSE.png JAVA ECLIPSE on.png

OS - Linux Phidget SBC Linux

JAVA JC SBC.png JAVA JC SBC on.png

OS - Android Android

JAVA AS ANDROID.png JAVA AS ANDROID on.png

Quick Downloads

If you already know what you're doing and just need the files, you can find them all below.

Documentation

Example Code

Libraries