Results 1 to 2 of 2
  1. #1
    liber77 is offline Member
    Join Date
    Dec 2011
    Posts
    3
    Rep Power
    0

    Default what do I have to install?

    I am trying to use a java application in ubuntu, but I am getting errors when I try to compile it. The app is trying to import from these libraries in the beginning:

    Java Code:
    import java.util.regex.Pattern;
    import java.util.concurrent.TimeUnit;
    import org.junit.*;
    import static org.junit.Assert.*;
    import static org.hamcrest.CoreMatchers.*;
    import org.openqa.selenium.*;
    import org.openqa.selenium.firefox.FirefoxDriver;
    import org.openqa.selenium.support.ui.Select;
    Java doesn't recognize this. Do I have to install these libraries? How do I install?

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,755
    Rep Power
    7

    Default Re: what do I have to install?

    Of course you have to install external 3rd party libraries. Were you expecting it to work by magic? You need to download the jar files and place them on your computer somewhere. Then you have to update the OS so it knows where to find them. I'm not sure how to do this on Ubuntu but google should provide some links. If you are using an IDE then consult it's Help functionality.

Similar Threads

  1. JRE doesn't install
    By D3M in forum New To Java
    Replies: 4
    Last Post: 10-11-2011, 04:14 PM
  2. Which JRE should I install?
    By okieman in forum New To Java
    Replies: 1
    Last Post: 06-14-2011, 04:19 AM
  3. How to only install Java SE and ME
    By mig in forum NetBeans
    Replies: 0
    Last Post: 12-17-2010, 08:28 PM
  4. install java
    By shelly in forum New To Java
    Replies: 1
    Last Post: 11-29-2010, 06:10 AM
  5. How to install Java without the GUI
    By couling in forum New To Java
    Replies: 3
    Last Post: 11-23-2010, 01:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •