11.10.2019

Java Media Framework: How Do I Install Jmf For Mac

  1. Java Media Framework How Do I Install Jmf For Mac

May 19, 2003  Will Java Media Framework ( JMF ) be available for the non-Server (Standard?) edition of OS X? I'm running 10.2.6 on a G4. Basic information can be found at this URL.

Generalities Once the prerequisite for your system are installed (see below) you can run Shape via the Launch Shape 2010 link on the start page of the. When you click on that link a file named Shapeit.jnlp is downloaded to a temporary folder and is run. The first time you do that, webstart downloads the Shape code and starts the program. The next time, it will only check whether the code has been updated. If not, webstart runs the local version. Otherwise it downloads and runs the new version.

This makes it easy to keep the code up-to-date. If you are going to run complex, memory intensive physical models, then the default memory settings for Java may not be sufficient to achieve a suitable spatial resolution. Then it is recommendable to increase the RAM that Java is allowed to access. Runs with a certain RAM memory limit, since it is embedded into what is called the Java Virtual Machine.

The maximum recommendable memory for that is approximately 1.5 GB for 32 bit processors. The maximum memory to be claimed by Java is set in the Shapeit.jnlp file. If you have more than 2 GB for a 32 bit system, you can manually increase the default maximum memory of 1000 KB to 1500 KB. To do that save the Shapeit.jnlp file on your desktop and open it in a text editor as an ascii file.

Jmf

Change the following code section: max-heap-size='1000M' to max-heap-size='1500M' Similarly, on 64 bit systems you can take advantage of its higher address space to increase the spatial resolution of your models. Increase the max-heap-size to a value suitable for your system, say 2/3 of the available RAM.

Now that you have saved and modified the Shapeit.jnlp file, you can run Shape by opening this file with webstart (click or double-click on the file icon). Shape will then open with the new settings. As of October 2010, the Java Advanced Imaging (JAI) and Java Media Framework (JMF) are included directly in Shape. So, you do not have to install them anymore. Since most systems these days already include Java Runtime Environment, you probably only have to install Java3D, which is system dependent. This should be true for all operating systems. Download JDK from the Sun website.

Select “Linux” from the platform option. Download the “RPM in self-extracting file” – e.g. Jdk-6u6-linux-i586-rpm.bin.

Java Media Framework How Do I Install Jmf For Mac

Run the file. You will have to set it executable first:. “chmod +x jdk-6u6-linux-i586-rpm.bin”. Load the RPM that is produced from the previous step:. “rpm –i jdk-6u6-linux-i586-rpm”. Create symbolic links in the /usr/bin directory so you can use java from anywhere on the system:. “ln -s /usr/java/jdk1.6.0/bin/java /usr/bin/java“.

“ln -s /usr/java/jdk1.6.0/bin/javac /usr/bin/javac“. The JDK will now be installed in /usr/java/jdk1.6.0 (or equivalent depending on the current version of java Installing Java3D (https://j3d-core.dev.java.net/j3d14001/HOW-TO-INSTALL.html). Get the latest JDK jai version for linux from (e.g. Jai-112-lib-linux-i586-jdk.bin)Move the file to the JDK directory (e.g. “mv jai-112-lib-linux-i586-jdk.bin /usr/java/jdk1.6.0/”)Make the file executable: (e.g. “chmod +x jai-112-lib-linux-i586-jdk.bin”)In this file, you have to replace 'tail +245' with 'tail -n +245' (use a text editor like emacs or vi, although the file has some binary content).

Run the file. This will place the necessary.jar files into the proper place You should now be able to run Shape using webstart.

Java Media Framework: How Do I Install Jmf For Mac

If webstart is not installed you will have to download it and install it, but it should be already installed.If you get an error about the GLX version being too low when you try to open the 3d module (or perhaps Shape itself) you will need to install the latest drivers for you video card. Shape used Java3d v1.5 which required Glx 1.3. Upgrading your video driver varies depending on what video driver you have. If you have an nvidia card you can upgrade using RPM packages. I can only give you the example of my system (Fedora 9, NVIDIA card) in which the following worked:NVIDIA driver upgrade on RedHat/Fedora:. Fedora installation instructions collected by Nico Koning. Please contact me for any help or tips you discover at nkoning@iras.ucalgary.ca Mac OSX Here is how I install the required libraries to let Shape run on a macbook: 1) Be sure you have installed the Java SE 6, available with the Java Update 2 from Apple: 2) In the Application/Utilities/Java/Preferences, choose the SE 6 version as default.

Java media framework how do i install jmf for mac

3) download the 1.5.2 version of J3D at: unpack it, and move the contents of j3d-152-macosx/lib/ext into /System/Library/Java/Extensions It's 3 jar files: j3dcore.jar, j3dutils.jar and vecmath.jar; you may find usefull to save the original versions of these files somewhere, in case of willing coming back to your previous installation. 4) download the package JOGL from and move the contents of jogl-1.1.1-macosx-universal/lib into /System/Library/Java/Extensions.IMPORTANT ADDITIONAL INFORMATION FOR NEWER SYSTEMS WITH SnowLeopard: You can download the necessary files: The procedure described above has problems for the most recent systems. The main problem is to install the various libraries and to be sure that Java uses the ones we want. Anydata adu-bat-100 driver for mac. There are 3 places for Java to look for libraries: /Library/Java/Extensions /Users/YOURHOME/Extensions /System/Library/Java/ExtensionsThe problem was that there were files with the same names in various directories. I thus just removed everything from the first two directories, and just copied all the necessary libraries from the other Mac (Leopard one) to the /System/.