Slackware :: Can't Run Java As Root
Apr 7, 2010I can't run the "java" command as root, but I can, as a simple user.
View 2 RepliesI can't run the "java" command as root, but I can, as a simple user.
View 2 RepliesCode: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object
That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.
I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.
Anybody know of a slackware package for the Iced Tea Java thing? I have the rpm (I have fedora anyhow) but I would like a slackpkg to cstick in here.
View 8 Replies View RelatedI just installed ubuntu 10.10. i downloaded java and was about to install before i realise i don't have root account.
View 2 Replies View RelatedI am trying to set my java path so that it is in effect for all users including the root user. I set the path correctly in /etc/profile and that works for my personal user, but when i try to run the same commands using sudo, i get messages saying that it can't find the java path.
View 3 Replies View RelatedI have a java.jar (PCGen) that only works correctly if I run it with sudo from the terminal. I have to cd into its directory and run it as
Code:
sudo java -jar pcgen.jar
I would like to use a menu launcher instead of having to use the terminal each time. I tried
Code:
sudo java -jar /path/to/file/pcgen.jar
No luck. This .jar only works properly if ran as root, is there any easy way to do this?
I'm am very new at debian. I have tried to use the apt install to install java-package an fake root after it says cannot find java-package also fake root doesn't work?
View 5 Replies View RelatedWhich are the default trusted root certificates in Java 1.4? How can a 4096bit certificate be installed in Java 1.4? (as it seems to produce an error).
View 2 Replies View RelatedI keep reading on the web about how there is now a 64 bit plugin and even saw Eric state in the Slackware 64 thread that there was a plugin for x86_64...
Where does this plugin reside?
I'm seeing a ./lib/amd64/libjavaplugin_jni.so but that gives me nothing with "about:config"
I've got a 64 bit flash plugin.... Just need a java one and I'll be set as far as the web goes..
I installed an editor that works fine for root, but for user produces this error.
Code:
How does one set this thing?
i have slackware 12.2 on a toshiba laptop and i cannot play flash movies on videos and similar stuff.
it also complains sometimes that i do not have java. but i do have java on my system. i think slackware comes with java included afaik. is there some sort of process or a tutorial i must read to get these things all set up? also, do i still have to install some kind of flash application?
I thought I knew what I was doing, just a minimal install of slackware 13.1 for a game server (minecraft), but it seems I missed java or something - I get the "command not found" error. gcc-java is installed. What package did I miss/what series is it in? Does it have any dependencies?
View 1 Replies View RelatedI have an openvz vps and it has a vps admin panel from solusvm for administration.In the vps admin panel is a console (Java), but mine looks like the picture below.I checked in firefox and thought maybe there was something wrong with my java plugin. Everywhere I look I see different instructions with different directories and it was confusing.So I said just do it like slackware and I got the slackware64-current/source/local/jre directory and build jre-6u25xx86_64-1.txz from jre.SlackBuild and then upgradepkg --install-new --verbose jre-6u20-x86_64-1%jre-6u25-x86_64-1.txzI hope I didn't break my slackware.Before I did that, I disabled my flash plugin in firefox according to some instructions before upgrading jre.Then I went to my vps control solusvm vps control panel and went to console. Nothing.Then I remembered I disabled my flash plugin in firefox. so I enabled it. It's works again. I get the same error as in the picture all over again.So if that doesn't make my vps control panel work, what do I need to do to make it work? I tried in windows and it had to install the flasplayer plugin before it worked - Are there more than one flashplayer plugins?
View 4 Replies View Relatedi wanted to know whether the gcc,g++ libraries are pre-installed i slackware 12.1 or not. if not then from where can i download them .how do i install them? how do i install the java jdk package also?
View 1 Replies View RelatedI understand it is not generally a good idea to mix 13 and 13-current packages but I am installing OpenProj which requires JDK and the installed JRE (6-18) is up-level from 13's JRE (6-16) and back-level from the 13-current JDK (6-19). Presumably JRE and JDK should be at the same level. Would it be better to take both JRE and JDK to 13-current (6-19) or to take both to 13 (6-16)?
View 3 Replies View RelatedI have a java process running in background. I have no java dependent program opened and even if I had, this program should be killed if I kill the Java process. top shows that Java causes almost 90% cpu usage.
[Code]...
The only way I can imagine is to restart, but this might happen again.
I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found
View 4 Replies View RelatedToday I installed Slackware 13 because of some issues I'd been having with slackware 9, which I'd gradually updated, but apparently not perfectly, hence the clean install of ver 13. Anyways, I have no sound. At first I thought I had no sound at all, but then I found out that audio does work for root. When I try to run alsamixer as a non-root user, I get this error:
Code: alsamixer: function snd_ctl_open failed for default: No such file or directory Now if I run it as root though, it works just fine. If I run the KDE system settings thing, what I guess is their version of the windows control panel, and I go to the multimedia section, I can see my card, but if I click test, it says that it's failed and that it's "reverting back to ." or something to that effect.(I'm in fluxbox right now). I would imagine that there's something I need to do with respect to modifying permissions, but I really don't know what that is that I'm supposed to do.
When I try to run thunar,for example, as root i receive a :
Code:
bash-4.1# thunar
No protocol specified
[code]...
I got the mozilla FF4, extracted, copied to /usr/lib/firefox, changed the old one to /usr/lib/firefox-3 (I had the 3.03 or something like it) Now,I just can make it work... but just as root! If I am in Konqueror, super user, and click over the firefox it opens Firefox 4, as root. If I open another X, as root, I just need to click the old firefox icon and it opens. As user, there is no way I compared the files from /usr/lib/firefox, the new ones with the old ones in /usr/lib/firefox-3, and the permissions are THE SAME. I even tried to replace the firefox and the run-mozilla.sh, the only difference is that then I can get the update window to appear, but it does nothing and just crash. I didn't touched the /usr/bin/firefox, since it just point to the /usr/lib, and in fact, since it is working as root, in user space and in root KDE,it is OK. I tries first,of course, to get a slack one, but at linuxpackages there is only the FF4 for the newest slacks.
View 12 Replies View RelatedHow can I get aliases working as root? Here is my Slackware 13.1's /etc/profile file followed by my *Slackware 11's* /etc/profile file [as a comparison]. My Slackware 11's root aliases work in addition to my username ones *without* needing a separate .bashrc in my home dir. In S13.1 I have created a .bashrc for my username and it works fine, but I want those same aliases operating when I'm root, and cannot for the life of me figure how to achieve it.
S13.1 /etc/profile:
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
# If the user doesn't have a .inputrc, use the one in /etc.....
got a client which rebooted one of their slackware servers and would not come up.Server is stuck at Kernel panic - not syncing: VFS: unable to mount root FS.I have booted into a live cd and mounted hdd1 but have not been able to get any further.
View 11 Replies View RelatedI just switched to ion3, been playing around with different window managers. Loving tiled wms! With each wm I run into the same issue, how can I set a root desktop background image with Slackware 13.1
View 3 Replies View RelatedMy root partition /dev/sda1 is 24.41 GiB with 10.48 GiB used. How can I tell if I have inadvertently placed a bunch of garbage on this partition? Also, should I, and I use the term loosely, 'move' certain directories to my home partition /dev/sda3? (118.77 GiB with 3.14 GiB used)
Right now I believe that, rightly or wrongly, if I screw up my system, all I need to do is install my Clonezilla image back to /dev/sda1 and I will have a 'mostly' working system. If I 'move' anything out of /dev/sda1 to /dev/sda3, will this hold true? Or am I out to lunch on this assumption anyway?
With the continued growth of SATA devices, I have really been having problems with my boot loader. In the old days, it was pretty easy to make sure that the IDE devices stayed put. However, now everything is an sd device. Specifying a root directory of /dev/sda1 in lilo is no longer a sure thing. If you have a USB device plugged in or an ESATA device, your sd devices are no longer guaranteed to stay put.In reading through the lilo documentation, it appears that you can specify root devices by UUID or even by LABEL.
View 10 Replies View RelatedI have been using KDE4 for some time now as a test and have noticed what at first seems to be a major omission. There is no way to run dolphin or konqueror as root. Old style KDE3 in SLackware 12 had the "root konqueror" option, (or whatever it was named in the KDE menus), but KDE4 doesn't have this. I tried adding a new menu itme in KDE4 to run dolphin as root but it had odd errors about "could not start process" and "could not to talk to klauncher" - it would not display any files from my directory. Konqueror had similar odd problems - something about klauncher and Dbus server. This is a pain as there are sometimes files I wish to move/delete which I need to be root to do and it would be nice to have a gui to do this.
Anyone got any quick ways (from KDE) of achieving this or setting up a KDE menu item to run a file manager (dolphin/konqueror) as root ? I don't always want to have to run "su -c mc" in a terminal to do admin stuff in the filesystem and I don't want to run KDE as root.
I often use the virtual ttys and as slackware doesn't by default enable vttys 8-12 I added these to inittab and I can now use CNTRL-ALT-(F8-12) to switch to them, now for the problem. On vtty 6 I can login as myself or root no problem but on vttys 8-12 when I try to login as root I just get "Login Incorrect" but if I login as myself there is no problem I can then su to root, I just can't login as root this is very frustrating as I tend to use the vttys to do admin work so have to be root
View 4 Replies View Relatedanyone knowledgeable could follow this thread? [URL]
View 1 Replies View RelatedI installed Slackware 13.37 and when i configured the LAMP, I now have a file session_mm_apache2handler0.sem in root(/) directory. I searched in the internet and found this:
[URL]
any way to fix it here in 13.37?
I have a Gigabyte P55-UD3 motherboard, I created a raid 0 array in the bios with the integrated gigabyte raid controller. can I install Slackware 64 on it, can I make it bootable, could I have multiple Operating Systems(Windows too)without each of them corrupting the partition table.If yes then how?(I would prefer not using extra bootdisk)
View 1 Replies View Related