You can create a new Oracle JET application in your favorite IDE or text editor using files extracted from
oraclejet.zip. After you create your application, you can modify it to include references to Oracle JET CSS and libraries.
Download the Oracle JET Zip File
You can download Oracle JET from the Oracle Technology Network (OTN) as a single zip file. The zip file contain the libraries, scripts, styles, and files needed to develop applications using Oracle JET.
To download Oracle JET from the Oracle Technology Network (OTN):
Navigate to the Oracle JET download location at: Oracle JET Downloads.
Choose Accept License Agreement.
Include References to CSS Files in Your Oracle JET Application
Specify the reference to the CSS files directly in your application’s main page, typically
Before you begin:
- Familiarize yourself with Oracle JET themes that are available for your use, see Theming Applications.
- Navigate to the Oracle JET download location at: Oracle JET Downloads.
- Choose Accept License Agreement.
oraclejet.zipinto the site root of your application.
- Create a new
index.htmlfile in the project root.
- In the application’s main page,
index.html, add the HTML
linkelement and point it to the CSS theme that you will use.
For example, to use the Oracle JET Alta web theme:
<!-- Oracle JET CSS files --> <link rel="stylesheet" href="css/libs/oj/version/alta/oj-alta-min.css" type="text/css"/>
- If you will be using the CSS included with Oracle JET, add the following line to the top of your application’s main HTML page:
This line is needed for the Oracle JET CSS to function as expected.
Use RequireJS to Manage Library, Link, and Script References
Oracle JET uses RequireJS by default for the Oracle JET Starter Templates and is required if you plan to use Oracle JET's internationalization, data visualization components, or the
OAuth plugin in your application.
Before you begin:
- In the
- Add the following script reference to your
<script data-main="js/main" src="js/libs/require/require.js"></script>
main.jsas needed to reference Oracle JET modules or your own scripts.