• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Got problem when trying to install JDK5.0 on linux

Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I downloaded JDK 5.0 update 1 linux self-extracting file: jdk-1_5_0_01-linux-i586.bin, and use chmod to make it executable. But after I run jdk-1_5_0_01-linux-i586.bin and say 'yes' to the license agreement question, I got the following error msg:
usage: tail [+/-[n][lbc][f]] [file]
tail [+/-[n][l][r|f]] [file]
jdk-1_5_0_01-linux-i586.bin: test: argument expected

I checked installation instructions from sun web site, and it doesn't mention anything about argument. Since it's my first time installing Java on linux platform, really don't know what else I should do to make the installation successful.

author and iconoclast
Posts: 24204
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Sun installer is a shell script. It calls other programs, like "tail". Here the error message is coming from "tail" and tail is complaining.

The funny thing is that your "tail" error message doesn't look like GNU tail, but like a message from some other version. GNU tail usage messages look like:

Are you sure you're trying to install this on Linux, specifically, and not on BSD, Solaris, HP-UX, or some other version of UNIX? What does "uname -a" say?

I'm going to move this to our Linux forum for further discussion.
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic