[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: jdk-common_1.0.2-7.deb



* Dennis Dixon <dixon@dixonadvise.com>
|
| I ran the command 'dpkg -i jdk-common_1.0.2-7.deb' to install the Java
| libraries on my computer. The program succesfully installed I believe.  When
| I typed 'java' on the command line I got the message 'bash> java: command
| not found'.
| 
| Why doesn't this work?

Are you using bo? JDK 1.1 is in hamm (or perhaps slink), and working ok.

| Possibly the jdk needs to be added to the CLASSPATH for Bash to find the
| file and this wasn't done automatically by dpkg. What file would this be in
| Linux?  Possibly 'etc/profile'?

Or /etc/environment. (export CLASSPATH=your_path:$CLASSPATH)

| The reason I'm installing the JDK is in order to run the Java IDE
| FreeBuilder, downloaded from 'leb.net/pub/freebuilder/FreeBuilder.jar'.  Is
| the above jdk the correct version?  From the numbers it appears to be
| version 1.0.2, whereas I believe FreeBuilder requires jdk 1.1 or higher.  If
| so this means I need to install the jdk from something other than a .deb
| file, which I'm not sure how to do.  Is the correct procedure to unzip your
| file then run 'install filename'?

It might be better to install hamm. Then you should be able to install
JDK 1.1.5 as debian packages.

Installing software that's not packaged can be difficult. I suspect
that installing JDK is no exception. If you're extremely luck
you just unpack and type 'configure; make; make install' but I'm
pretty sure it's not that easy for JDK.

| Also, I noticed that FreeBuilder.jar has a .jar ending which I find odd.
| The instructions say to just run 'java FreeBuilder.jar' but I don't see why
| this should execute correctly.  (Not a .class file)

A .jar file is a Java ARchive. It basically a compressed archive of
classfiles and images and such. Resembling a .tar.gz file.

| Continuing on with the neverending array of questions, I just installed XF86
| on my machine.  It now starts when I type 'startx', but beyond that I have
| no idea what it's supposed to do.  For instance I can't even change the font
| size on the command prompt it displays.  (Presently much too small to be
| useable)  Is there a config file I'm supposed to change to fix this?

I'm not sure I understand. Is it the font in the xterm (the window
where you can type unix commands) that's too small? If so, try to
keep control pressed and press the right mouse button.

| Thinking what I need is a windows manager I installed 'afterstep_1.0-1.deb'.
| When I type 'afterstep' on the command line I get 'afterstep: can't open
| display'.  If I type it on the command line inside XF86 I get 'WM already
| running'. Is afterstep supposed to replace XF86 or work in conjunction with
| it? I actually have no idea what these programs are supposed to do.  There
| must be more than this though.

Afterstep runs on top of X. It's the window manager that takes care
of decorating all the windows that you see. Without a winman you can't
even move a window.

WM already running means that you already have a window manager.
It's probably twm.

To use afterstep instead, move the afterstep line before the twm line
in /etc/X11/window-managers.

| On the advice of previous e-mails on this mailing list I would like to try
| out the windows manager 'icewm', 'gnome', and 'gmc' (Which is actually
| Midnight Cowboy?). However, I can't find .deb files for these programs.
| Which leads us back to the previous question as to how to install software
| that's not packaged as .deb files. 

Icewm should be found in section x11. Gnome is not a window manager.

| Two more questions concerning Linux commands.  I have been trying to make
| the 'pon' command accessible when I log in as a user.  (It works fine when
| log in as root)  I have succefully added  'theuser' to the 'dip' group in
| '/etc/group'.
| Apparently I also need to change the ownership of certain files/directories
| from 'root' to 'dip'. A previous e-mail identified /etc/chatscript/,
| /etc/chatscript/provider, and /etc/ppp/peers/provider.  'ls -l' gave me the
| following ownership's for what I believe are the files/directory I need to
| change on my system.
| 
|     d r w _ _ _ _ _ _ _    2  root  root   ppp  (directory)
|     _ r w _ _ _ _ _ _ _    1  root  root   ppp.chatscript
|     _ r w _ _ _ _ _ _ _    1  root  root   ppp.options_out
| 
| What command do I use to change the ownership of these files, not just the
| permission level?  Are these the correct files/directory to change?

To change ownership use 'chown' (chown dip ppp).
To change group ownership use 'chgrp' (or chown).

| Also, previously I had erronously changed the dialin group with
|          
|                 adduser  username  dialin
| 
| Is there a command to reverse this addition.  e.g. something like 'deluser'?

Somewhat. Try 'userdel'. It doesn't remove the users directory. Use
'rm -rf /home/username' for that.

| Thanks for any help someone can pass on.  I know there a lot of questions
| here, but I don't know how else to solve these problems and I would be
| overjoyed if I could actually get all this stuff running.

We're here to help. Don't be afraid to ask.

-- 
Ole


--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: