Lab 7:Multimedia : Java Media Framework (JMF)]

Total Page:16

File Type:pdf, Size:1020Kb

Lab 7:Multimedia : Java Media Framework (JMF)] Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] Multimedia lab Java Media Framework (JMF) Introduction With the growth of Internet there has been a radical change in the method of software design and deployment. Software applications are becoming more and more distributed. Java has emerged as an ideal programming language for developing Internet applications. There has been a growth in the multimedia traffic over the Internet in recent years. Some of the promising multimedia applications that are deployable over the Internet include (i) video conferencing, (ii) media-on-demand, (iii) access to multimedia database over Internet, (iv) interactive distance education, To provide a fully integrated web-based multimedia solution the JavaSoft along with its industry partners have developed a family of APIs called the Java Media APIs. The Java Media APIs is a set of APIs that enables Java programmers to add multimedia to their applications. What is JMF? JMF is a framework for handling streaming media in Java programs. JMF is an optional package of Java 2 standard platform. JMF provides a unified architecture and messaging protocol for managing the acquisition, processing and delivery of time-based media. 1 Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] JMF architecture and components Representing media All multimedia contents are invariably stored in a compressed form using one of the various standard formats. Each format basically defines the method used to encode the media. Therefore we need a class to define the format of the multimedia contents we are handling. To this end JMF defines the class Format that specifies the common attributes of the media Format. The class Format is further specialized into the classes AudioFormat and VideoFormat. Specifying the source of media The next most important support an API should offer is the ability to specify the media data source. Using an URL object we can specify the media source for some file. JMF provides another class called MediaLocator to locate a media source of any hardware device like microphone or webcam. The source of the media can be of varying nature. The JMF class “DataSource” abstracts a source of media and offers a simple connect-protocol to access the media data. Specifying the media destination A DataSink abstracts the location of the media destination and provides a simple protocol for rendering media into destination. A DataSink can read the media from a DataSource and render the media to a file or a stream 2 Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] Important components Player A Player takes as input a stream of audio or video data and renders it to a speaker or a screen. much like a CD player reads a CD and outputs music to the speaker. A Player can have states, which exist naturally because a Player has to prepare itself and its data source before it can start playing the media. Java Player has many methods like : getVisualComponent(); getControlPanelComponent(); start(); stop(); deallocate(); we will use and explain all of them during the practical part. Processor A Processor is a type of Player. In the JMF API, a Processor interface extends Player. As such, a Processor supports the same presentation controls as a Player. Unlike a Player, a Processor has control over what processing is performed on the input media stream. In addition to rendering a data source, a Processor can also output media data through a DataSource so it can be presented by another Player or Processor. 3 Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] Manager Manager class is used to create players, processors, datasinks and so on. You can imagine it as a mapper between JMF components. 4 Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] As you can see in the figure above – which actually summarize all the lab! -, that we can get our data from URL or MediaLocator : If you are getting your media from some file then use URL. If you are getting your media from some hardware device : microphone or a webcam for example, then use MediaLocator After you choose this option you have to extract your DataSource form them and use it in the creation of either Player or Processor. If you want only to display your data then you can use Player. If you want to make any changes in the data and then display it or if you want to send it anywhere using network or save it to some file then you have to use Processor. But don't worry ! we will go through all these scenarios. In this lab we are going to take data from File (e.g. using URL) and from webcam (e.g. using MediaLocator) and display them(data is plural word!) using a Player. Next lab, we will transmit live voice chat over the network using only Java code and then transmit video from a webcam using JMStudio. Part 0 : Installation and needed programs 1. In order to work throughout this lab you need to have JDK and some IDE for java, I recommend that you install the latest version of them form Oracle website on this link here. 2. After you finish installing your JDK and IDE (netbeans) you have to 3. configure java path in the environment variable as shown below. Step 2: Advanced system settings Step 1: properties 5 Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] Step 4: JDK path Step 5: Path for JMStudio Step 3: Enviroment Variables 4. Now you have to download JMF software from here and its download steps is straightforward. Now you should be ready to go! Remember Before you start using JMF in netbeans you have to add some jar files first, follow steps below: 1. Right click on your project name then click properties. 2. Go to Libraries (second item on left). 3. Click Add Jar/Folder. 4. Navigate to bin folder of JMF installation and add all jars there !. (e.g. : C:\Program Files\JMF2.1.1e\lib) Files are : "customizer.jar" "jmf.jar" "mediaplayer.jar" "multiplayer.jar" "sound.jar" 6 Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] Part 1 : Playing a movie using JMF In this part we are going to view a movie using Java code. Note that we will use URL in order to get data from the file. VisualComponent ControlPanel Component PlayFileUsingJMF.java 2 import java.awt.*; 3 import java.awt.event.*; 4 import java.net.URL; 5 import javax.media.*; 6 import javax.media.rtp.*; 7 import javax.swing.*; 8 9 public class PlayFileUsingJMF { 10 11 @SuppressWarnings("UseSpecificCatch") 12 public static void main(String[] args) throws InvalidSessionAddressException { 13 //code below is used to make JAVA programs look more friendly 14 try { 15 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 16 } catch (Exception ex) { 17 } 18 19 // we are creating file chooser to load some media file 20 JFileChooser file = new JFileChooser(); 21 int option = file.showOpenDialog(null); 22 try { 23 URL url = null; 24 25 // now after the choice is made, we extract the URL from it 26 if (option == JFileChooser.APPROVE_OPTION) { 27 28 url = file.getSelectedFile().toURL(); 29 } 30 31 final Player player; 32 // here we are setting our manager to light waight components e.g. swing 7 Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] 33 // components. 34 Manager.setHint(Manager.LIGHTWEIGHT_RENDERER, true); 35 36 // here we are using Manager class to create a Player from our URL 37 player = Manager.createRealizedPlayer(url); 38 39 // now we are simply constructing a frame to display our player 40 JFrame f = new JFrame("test :)"); 41 f.setLayout(new BorderLayout()); 42 43 // well, that's important: we are adding the player's visual component to the frame 44 f.add(player.getVisualComponent(), BorderLayout.CENTER); 45 46 // important: here we are adding the control component of the player 47 f.add(player.getControlPanelComponent(), BorderLayout.SOUTH); 48 49 // TO here we are ready to go ! the buttons are optional but we want to 50 // show them, in case someone doesn't like to use the default controller 51 52 // here we are defining some buttons that we will use 53 JPanel pan = new JPanel(); 54 JButton start = new JButton("start"); 55 JButton stop = new JButton("stop"); 56 JButton pause = new JButton("pause"); 57 58 pan.add(start); 59 pan.add(stop); 60 pan.add(pause); 61 62 // f.62add(pan, BorderLayout.SOUTH); 63 64 start.addActionListener(new ActionListener() { 65 66 @Override 67 public void actionPerformed(ActionEvent ae) { 68 // when play button is pressed we simply start the player! 69 player.start(); 70 } 71 }); 72 73 stop.addActionListener(new ActionListener() { 74 75 @Override 76 public void actionPerformed(ActionEvent ae) { 77 player.stop(); 78 player.deallocate(); // release resources too 79 } 80 }); 81 82 pause.addActionListener(new ActionListener() { 83 84 @Override 85 public void actionPerformed(ActionEvent ae) { 86 player.stop(); 87 } 88 }); 89 90 // initializing our frame 91 f.setSize(400, 400); 92 f.setLocationRelativeTo(null); 8 Advanced Networks [Lab 7:Multimedia : Java Media Framework (JMF)] 93 f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 94 f.setVisible(true); 95 // player.start(); 96 } catch (Exception ex) { 97 } 98 99 } 100 } 101 Hints : To use out buttons comment line 47 and uncomment line 62. To start the player as soon as the frame loads uncomment line 95. Part 2 : Controlling a webcam In this Part of the lab we are going to capture the webcam data and hence we will use mediaLocator to achieve this. CaptureCAM.java 1 2 import java.awt.*; 3 import java.net.MalformedURLException; 4 import javax.media.*; 5 import
Recommended publications
  • Steps for Downloading And/Or Installing Java SE 7, the JMF, Apache Tomcat & Eclipse
    Steps for Downloading and/or Installing Java SE 7, the JMF, Apache Tomcat & Eclipse Java SE 7 The download instructions below refer to the latest version of the Java Standard Edition (Java SE), which (at the time of writing) is Java SE 7 Update 5. The Java SE Development Kit (JDK) includes the Java Runtime Environment (JRE) and command-line development tools. It is actually the JDK that you are downloading, but we shall be referring only to the Java SE. 1. Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html. 2. Click on the Download button underneath JDK, which is to the right of the text heading showing the latest version of Java. 3. In the table heading halfway down the page, click on the radio button to accept the licence agreement. 4. Click on the filename that appears alongside Windows x86. (This should have the format jdk- 7u<Update version>-windows-i586.exe, where <Update version> is replaced with a number that is either 5 or one slightly higher. 5. Click on the Save button and navigate to a suitable location for the download file (probably the top level of your drive C) and then click the next Save button. (File takes up 87.95MB or more.) 6. After downloading to a suitable location, click on the Open Folder button. 7. Double-click on the executable file that has either been downloaded or been copied from the CD. 8. Click on the Run button. 9. Click on the Next> button (when it becomes available). 10.
    [Show full text]
  • Media Rate Allocation
    MEDIA RATE ALLOCATION A PROJECT REPORT Submitted by P.BALASUBRAMANIAN (32205205004) R.VIGNESWARAN (32205205302) in the partial fulfillment for the award of the degree of BACHELOR OF TECHNOLOGY In INFORMATION TECHNOLOGY DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY: Mamallapuram ANNA UNIVERSITY: CHENNAI 600025 APRIL 2009 1 ANNA UNIVERSITY: CHENNAI 600 025 BONAFIDE CERTIFICATE Certified that this project report “MEDIA RATE ALLOCATION” is the bonafide work of “P.BALASUBRAMANIAN (32205205004), R.VIGNESWARAN (32205205302)” who carried out the project work under my supervision. SIGNATURE SIGNATURE Ms.D.Jansi Rani Ms.T.Yogeswari HEAD OF THE DEPARTMENT SUPERVISOR Department of Information Technology Department of Information Technology Dhanalakshmi Srinivasan Dhanalakshmi Srinivasan College of Engineering and Technology, College of Engineering and Technology, Mamallapuram. Mamallapuram. Submitted for the project viva voce examination held on ____________ INTERNAL EXAMINER EXTERNAL EXAMINER 2 ACKNOWLEDGEMENT We are glad to take this opportunity to cordially acknowledge a number of people who provide me with great support in these six months. First, we would like to thank Mr.A.Srinivasan, our Chairman who allowed me to do the project in the college campus. We are also thankful to Dr.R.Ponraj M.Tech Ph.D., our Principal, for his constant support in selecting the project. We wish to express my sincere gratitude to our respected Vice Principal, Mr.Pon.Arivanandham M.E, PhD., for his continued encouragement and support. We are grateful to Lecturer Ms.D.Jansi Rani M.Tech., our Head of the Department, who expressed her interest in my work and supplied me with some of her recent works. We would like to thank Lecturer Ms.T.Yogeswari B.E., for following my project with interest and for giving me constant support.
    [Show full text]
  • Javafx Strengths and Weaknesses
    JavaFX: Current Status; Strategic and Tactical Outlook Document Extract Summary of JavaFX (Mobile) Strengths and Weaknesses as of March 2009 Killer Strengths Comments DSL productivity Terse code; reflective of intent. Considerably easier to maintain than Java equivalent. Java integration Seamless integration enables existing libraries to be leveraged very efficiently. Bind (the killer keyword) Results in extremely succinct code (in comparison to Java.) Key-frame animation Used wisely, animation can significantly increase the quality of the end- user experience. Can also be used for programming (simple) games. In combination with “bind”, key-frame animations can now be constructed easily and intuitively. Java2D effects Effects can improve the look of an application substantially and are now very quick and easy to use. Multimedia Multimedia is finally (!) easy to integrate in an application. Designer / developer Graphical designers and software developers can work efficiently workflow together using JavaFX Plugins for Photoshop / Illustrator. However, more experience is required to seriously test the viability and scalability of this approach. Light-weight access to RESTful Web-service invocation now requires very little code. Call is web services automatically handled asynchronously although the developer must manage asynchronous handling of time-consuming processing. Light-weight XML parsing Especially powerful in conjunction with web-services. Reuse potential across The rule here is: Develop for mobile from the outset! Then, in a new desktop/mobile project, make whatever enhancements are necessary for the desktop version. Potential Killer Strengths Comments 3D Promised for later this year, this feature will almost certainly wrap the Java3D API. But how will it perform under JavaME? TV Promised for later this year, this feature will presumably build on JSR927 Killer Weaknesses Comments Widgets JFX text field of limited use.
    [Show full text]
  • JCP at Javapolis 2007
    Javapolis News ❙ 14 December 2007 ❙ Nr 5 ❙ Published by Minoc Business Press 54 www.nonillion.com Parleys Want to become a NONILLIONAIRE ? mail us at : [email protected] Building Rich Internet Applications with Flex and JavaFX “There’s a well thought out com- an online environment using Adobe AIR. “Even when you ponent model for Flex”, he said. are offl ine, you still can update data. When the connec- “And there’s a thriving market tion comes back on, the system synchronizes automati- for components out there, both cally.” Open Source and commercial. So there are literally hundreds JavaPolis founder Stephan Janssen was next to explain of components available to how he decided to have Parleys.com rewritten using Flex. use in Flex.” And no, Flex isn’t Parleys.com offers a massive amount of Java talks – from there for fun and games only. JavaPolis, JavaOne and other Java events from all over “There are already a great the world – combining video images with the actual pres- number of business applica- entation slides of the speakers. Janssen programmed the tions running today, all built application for fun at fi rst, but with over 10 TB of streamed with Flex.” Eckel backed up video in just under a year, it’s clear Parleys.com sort of his statement with an ex- started to lead its own life. “The decision to write a new ample of an interface for an version was made six months ago”, he said. “It was still intranet sales application. too early to use JavaFX. And Silverlight? No thanks.” “Some people think Flex Flex allowed him to leverage the Java code of the earlier isn’t the right choice to version of Parleys.com and to resolve the Web 2.0 and make for business applica- AJAX issues he had en- countered while programming tions, because the render- the fi rst version.
    [Show full text]
  • Using the ELECTRIC VLSI Design System Version 9.07
    Using the ELECTRIC VLSI Design System Version 9.07 Steven M. Rubin Author's affiliation: Static Free Software ISBN 0−9727514−3−2 Published by R.L. Ranch Press, 2016. Copyright (c) 2016 Static Free Software Permission is granted to make and distribute verbatim copies of this book provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this book under the conditions for verbatim copying, provided also that they are labeled prominently as modified versions, that the authors' names and title from this version are unchanged (though subtitles and additional authors' names may be added), and that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this book into another language, under the above conditions for modified versions. Electric is distributed by Static Free Software (staticfreesoft.com), a division of RuLabinsky Enterprises, Incorporated. Table of Contents Chapter 1: Introduction.....................................................................................................................................1 1−1: Welcome.........................................................................................................................................1 1−2: About Electric.................................................................................................................................2 1−3: Running
    [Show full text]
  • Design of a Distributed Architecture for Enriching Media Experience in Home Theaters
    Design of a distributed architecture for enriching media experience in home theaters Citation for published version (APA): Hu, J. (2006). Design of a distributed architecture for enriching media experience in home theaters. Technische Universiteit Eindhoven. https://doi.org/10.6100/IR611954 DOI: 10.6100/IR611954 Document status and date: Published: 01/01/2006 Document Version: Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers) Please check the document version of this publication: • A submitted manuscript is the version of the article upon submission and before peer-review. There can be important differences between the submitted version and the official published version of record. People interested in the research are advised to contact the author for the final version of the publication, or visit the DOI to the publisher's website. • The final author version and the galley proof are versions of the publication after peer review. • The final published version features the final layout of the paper including the volume, issue and page numbers. Link to publication General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal.
    [Show full text]
  • Puneet Lakhina
    PUNEET LAKHINA 1. PERSONAL INFORMATION • Address: 182 Kailash Hills,Near East of Kailash, New Delhi – 10065, India • E-Mail: [email protected] • Phone: 00919818069803 2. AREAS OF INTEREST Distributed Systems, Peer to Peer Systems, Software Engineering, Information Retrieval, Computer Networks, Databases. 3. EDUCATION • Bachelor of Technology in Information Technology, Vellore Institute of Technology University, November 2006 CGPA: 9.23 Scale: 10 Rank: 5th (Class Strength: 65) 4. ACADEMIC INTERNSHIPS/FELLOWSHIPS • Position: Project Trainee (January 2006 – May 2006) Institution: Kanwal Rekhi School of Information Technology, Indian Institute Of Technology Bombay Mentor: Dr. Deepak. B. Phatak • Position: Summer Intern (June 2005-August 2005) Institution: Kanwal Rekhi School of Information Technology, Indian Institute Of Technology Bombay Mentor: Dr. Deepak B. Phatak 5. PROFESSIONAL WORK EXPERIENCE • Position: Associate System Engineer (June 2006 – Present) Institution: IBM India Private Limited. 6. PROJECTS • Virtualization: Executed at: IBM India Pvt. Ltd Team Size: 25 Abstract: Virtualization is a SOA based platform, that allows integration of multiple type of bearers (USSD, Web, SMS, IVR, Kiosk etc.) with service platform (network elements) providing scalable, flexible and easily configurable solutions. Virtualization is a key part of the Prepaid transformation that allows IT system to manage the increasing subscriber base (from current 45 million to projected 157 million by 2013) and can be applied for any telecom scenario. My role in the project was to manage the transport layer based on IBM Websphere MQ™ for service request processing. This involved development of a Listener Framework for allowing a business logic plugging without regard to the nature of the transport layer. I was also the lead for load testing and optimization group, whereby the performance target of 43 service requests processing per second was achieved.
    [Show full text]
  • Digital Synthesis by Plug-In Method in Java Media Framework Environment
    Proceedings of the COST G-6 Conference on Digital Audio Effects (DAFX-01), Limerick, Ireland, December 6-8, 2001 DIGITAL SYNTHESIS BY PLUG-IN METHOD IN JAVA MEDIA FRAMEWORK ENVIRONMENT Jiri Schimmel Rostislav Fitz Department of Telecommunications Department of Computer Science and Engineering FEECS FEECS Brno University of Technology Brno University of Technology [email protected] [email protected] ABSTRACT JMF requires the appropriate input and output devices such as microphones, cameras, speakers, and monitors. This paper deals with the implementation of real-time digital Data sources and players are integral parts of JMF's high-level musical sound synthesizers by the Plug-In method in the Sun API for managing the capture, presentation, and processing of Microsystems Java Media Framework environment. This time-based media. JMF also provides a lower-level API that environment use the Plug-In technology as well as the DirectX or supports the seamless integration of custom processing VST environments, but the implementation methods are different. components and extensions. This layering provides Java developers with an easy-to-use API for incorporating time-based media into Java programs while maintaining the flexibility and extensibility required supporting advanced media applications 1. JAVA MEDIA FRAMEWORK and future media technologies. Java is object-oriented multi-platform programming language developed by the Sun Microsystems company that is used mainly for Internet applet production. The Java Media Framework (JMF) is an application programming interface (API) for incorporating time-based media into Java applications and applets. The JMF 1.0 API (the Java Media Player API) enabled programmers to develop Java programs that presented time-based media.
    [Show full text]
  • Java Core Technologies (Part III)
    Extreme Java G22.3033-007 Session 5 - Main Theme Java Core Technologies (Part III) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda • Summary of Previous Session / Epilogue • Java Media APIs •Java 2D API • Java Media Framework • XBeans and Visual XBeans •JNI • Java Generative Programming Technology • Language Features •Threads • Readings 2 1 Summary of Previous Session • Summary of Previous Session • Java AWT and Swing components • Drag and Drop • Graphics and Multimedia Components (JavaMedia) • JavaBeans • Readings • Class Project & Assignment #2b 3 Java Technologies/Features in Scope • Technologies: • Collections Framework • Input Method Framework • Swing • Drag and Drop • JavaBeans •JNI • Security • Language Features: • Threads • Assertions 4 2 Part I Session 4 Epilogue 5 Drag and Drop (http://java.sun.com/j2se/1.4/docs/guide/swing/1.4/dnd.html) • See Session 4 Handout on Drag and Drop Data Transfer • Adding Drag and Drop to a JTree • In J2SE 1.4, JTree supports Drag but developers must implement and install a custom TransferHandler to fully support imports of data on Drop targets • http://www.javaworld.com/javaworld/javatips/jw-javatip97.html • http://www.javaworld.com/javaworld/javatips/jw-javatip114.html • http://sourceforge.net/projects/ijtree/ 6 3 JavaBeans and JAF (http://java.sun.com/j2se/1.4/docs/guide/beans/changes14.html) • See Session 4 Handout on Component Modeling with JavaBeans • Download the BeanBuilder • http://java.sun.com/products/javabeans/beanbuilder/index.html
    [Show full text]
  • The Java Tree Withers
    IN DEVELOPMENT The Java Tree Withers Doug Lyon Fairfield University, Fairfield, Connecticut The Java report card: infrastructure gets a D, code reuse gets an F. omputer languages are PREDICTION IS HARD, neglect and deprecation. Deprecation uniquely positioned ESPECIALLY WHEN IT’S warnings aren’t generally deemed as a case study in the ABOUT THE FUTURE serious, as programs continue to run. C development of man’s If we establish a good reason for However, sometimes entire JVMs are most complex and powerful techno Java’s ascendancy, perhaps we can deprecated. The biggest threat to artifact—the programming language. come up with a prognosis for its Java is Apple’s banning of Java on the The most popular of these languages future. iPhone and the deprecation of the new is now Java. One of Java’s key strengths is its JVM on the Mac OS. In 15 years, my Java project portability. The Java virtual machine Java provides a way to isolate has grown from 667 lines of code (JVM) is a high-performance, portable, and manage API instability using (LOC) to 633,436 LOC. During this and successful substrate. However, JavaBeans. The bean embodies the time, I’ve had to struggle to keep up the tectonic shift in Java ownership promise of Java code-reuse via inter- with API deprecations and defunct (from Sun to Oracle) has caused changeable parts—known as com- frameworks. Some code will no longer aftershocks, destabilizing Java ponent software development (CSD). run. What will become of Java? APIs. This has been exacerbated by Historically, the technology of interchangeable parts enabled an industrial revolution—among other things, it helped the Springfield Armory produce more than 1 million model 1861 rifles during the Civil War.
    [Show full text]
  • Computer Vision Processing Using Webcams with Java in Eclipse 3
    Software Installation Guide for L2Bot * Jan 21, 2011 (*) This Guide has been tested under Windows XP and Windows 7 1. Webcam driver 2. JMF 2.1.1.1.e 3. Eclipse setup for Webcam 4. Java comm API 5. Configure Eclipse for comm API 6. Let’s drive L2Bot! 0. Install JDK (Java Development Kit) and Eclipse Check if you are using a 64-bit Operating System. (Right click “Computer” on the desktop and slect property to get the information.) L2Bot requires 32 bit software. Download the newest version of 32 bit JDK (Java Development Kit) from: http://www.oracle.com/technetwork/java/javase/downloads Note that 32 bit system is also called x86. If you already have 64 bit JDK version, it is fine to have 32 bit JRE (Java Runtime Environment) in addition on your computer. By default, it will be installed under c:\Program Files (x86)\Java. Download the newest version of the Eclipse IDE (either for Developers or Classic) from http://www.eclipse.org/downloads You do not need to install 32 bit Eclipse, when you have 64 bit OS. Find the downloaded Eclipse zip file, and extract it to a location. Inside the extracted Eclipse folder, you should find the Eclipse application. You may want to make a shortcut of this onto your desktop. At least “Hello World” program using Eclipse must be tested before beginning the following installations. 1. Webcam driver installation If your laptop has built in webcam, then skip this section 1. Usually the driver is already installed. Any webcams (or camcorders) can be used for the L2Bot.
    [Show full text]
  • Learning Java an Introduction to Real-World Programming with Java
    EditionFifth Learning Java An Introduction to Real-World Programming with Java Marc Loy, Patrick Niemeyer & Daniel Leuck FIFTH EDITION Learning Java An Introduction to Real-World Programming with Java Marc Loy, Patrick Niemeyer, and Daniel Leuck Beijing Boston Farnham Sebastopol Tokyo Learning Java by Marc Loy, Patrick Niemeyer, and Daniel Leuck Copyright © 2020 Marc Loy, Patrick Niemeyer, Daniel Leuck. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or [email protected]. Acquisitions Editor: Suzanne McQuade Indexer: Angela Howard Developmental Editor: Amelia Blevins Interior Designer: David Futato Production Editor: Beth Kelly Cover Designer: Karen Montgomery Copyeditor: Sonia Saruba Illustrator: Rebecca Demarest Proofreader: Christina Edwards May 2000: First Edition July 2002: Second Edition May 2005: Third Edition June 2013: Fourth Edition March 2020: Fifth Edition Revision History for the Fifth Edition 2020-03-27: First Release See http://oreilly.com/catalog/errata.csp?isbn=9781492056270 for release details. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Learning Java, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc. While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work.
    [Show full text]