- This topic has 6 replies, 3 voices, and was last updated 20 years, 8 months ago by Scott Anderson.
-
AuthorPosts
-
Edward J. NewtonMemberMy MyEclipse 3.7.2 installation failed. I am using Redhat 9.0 with KDE desktop. I downloaded and installed Eclipse (eclipse-SDK-3.0M8-linux-gtk.zip) and ran the MyEclipse installer for linux (EnterpriseWorkbenchInstaller_030702.bin) as my normal user (non-root) and got this error in the MyEclipse install log:
<snip>
Install Directory: /home/ejn/MyEclipse/MyEclipse_Enterprise_Workbench/
Status: SUCCESSFULInstall Action: RPMSpecFile
Status: ERROR
Additional Notes: ERROR – There was a problem creating the RPM package. You may not be running as root or may not have installed RPM Builder correctly.
ERROR – java.lang.NullPointerException<end of log>
I was unaware that I have to install it as root. Won’t I have permissions problems trying to use MyEclipse if I must install it as root? I don’t recall having to be root on earlier installs of previous versions. As for rpmbuild, I can see it when I do a ‘which rpmbuild’ so it’s in the path.
Riyad KallaMemberDo either of these threads help? (we’ve run this problem down before):
https://www.genuitec.com/forums/topic/failed-to-install-on-linux-suse-closed/&highlight=rpmbuild
https://www.genuitec.com/forums/topic/eclipse-2-1-2-amp-me-2-7rc2-on-debian-closed/&highlight=rpmbuild
Edward J. NewtonMemberUnfortunately the two links didn’t help. I did run the installer with LAX_DEBUG=1 and saw the same error as one of the posters:
[ejn@ragnar ejn]$ which rpmbuild
/usr/bin/rpmbuild
[ejn@ragnar ejn]$ ls -al /usr/bin/rpmbuild
lrwxrwxrwx 1 rpm rpm 15 Jun 26 2003 /usr/bin/rpmbuild -> ../lib/rpm/rpmb
[ejn@ragnar ejn]$ rpm -qa | grep rpm
redhat-rpm-config-8.0.21-1
rpm-4.2-0.69
rpm-build-4.2-0.69
rpm-python-4.2-0.69
rpm-devel-4.2-0.69
[ejn@ragnar ejn]$ env LAX_DEBUG=1 /ragnar1/keepers/MyEclipse/EnterpriseWorkbenchInstaller_030702.bin
Preparing to install…
Checking for POSIX df.
Found POSIX df.
True location of the self extractor: /ragnar1/keepers/MyEclipse/EnterpriseWorkbenchInstaller_030702.bin
Creating installer data directory: /tmp/install.dir.11225
Creating installer data directory: /tmp/install.dir.11225/InstallerData
Gathering free-space information…
Space needed to complete the self-extraction: 43561 blocks
Available space: 1272072 blocks
Available blocks: 1272072 Needed blocks: 43561 (block = 512 bytes)
This installation does not contain a VM.
Extracting the installation resources from the installer archive…
Extracting install.zip from /ragnar1/keepers/MyEclipse/EnterpriseWorkbenchInstaller_030702.bin to /tmp/install.dir.11225/InstallerData/installer.zip …
Extracting done, exit code = 0
Configuring the installer for this system’s environment…========= Analyzing UNIX Environment =================================
Setting UNIX (linux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.========= Analyzing LAX ==============================================
LAX found………………………. OK.
LAX properties read……………… OK.========= Finding VM =================================================
Valid VM types…………………….. J2
Expanded Valid VM types…………….. JRE_J2 JDK_J2
WARNING! No valid lax.nl.current.vm available.
Searching for VMs in PATH:
Looking in:……………………….. /bin
Looking in:……………………….. /home/ejn/Metamill-2.2/bin
Looking in:……………………….. /home/ejn/OpenOffice.org1.1.1/program
Looking in:……………………….. /home/ejn/adabas/bin
Looking in:……………………….. /home/ejn/adabas/pgm
Looking in:……………………….. /home/ejn/bin
Looking in:……………………….. /home/ejn/eclipse
Looking in:……………………….. /home/ejn/mp3s
Looking in:……………………….. /opt/ant/bin
Looking in:……………………….. /opt/bin
Looking in:……………………….. /opt/jakarta-tomcat-4.1.27/bin
Looking in:……………………….. /opt/jutils-2_0/jisql
Looking in:……………………….. /opt/mozilla
Looking in:……………………….. /sbin
Looking in:……………………….. /usr/X11R6/bin
Looking in:……………………….. /usr/bin
Looking in:……………………….. /usr/java/j2sdk1.4.1_03/bin
Found VM:……………………….. /usr/java/j2sdk1.4.1_03/bin/java
Looking in:……………………….. /usr/local/Acrobat5/bin
Looking in:……………………….. /usr/local/bin
Looking in:……………………….. /usr/local/mysql/bin
Looking in:……………………….. /usr/sbin
Looking in:……………………….. /usr/xpg4/bin
* Using VM:……………………….. /usr/java/j2sdk1.4.1_03/bin/java
Current VM is NOT a HotSpot VM========= Virtual Machine Options ====================================
LAX properties incorporated…………. OK.
classpath…………………………. “/tmp/install.dir.11225/InstallerData:/tmp/install.dir.11225/InstallerData/installer.zip”
main class………………………… “com.zerog.ia.installer.Main”
.lax file path…………………….. “/tmp/install.dir.11225/temp.lax”
user directory…………………….. “/tmp/install.dir.11225”
stdout to…………………………. “console”
sterr to………………………….. “console”
install directory………………….. “”
JIT………………………………. none
option (verify)……………………. off
option (verbosity)…………………. none
option (garbage collection extent)…… none
option (garbage collection thread)…… none
option (native stack max size)………. none
option (java stack max size)………… none
option (java heap max size)…………. 50331648
option (java heap initial size)……… 16777216
option (lax.nl.java.option.additional).. none========= Display settings ===========================================
X display…………………………. local
UI mode…………………………… guiLaunching installer…
========= VM Command Line ============================================
CLASSPATH=/tmp/install.dir.11225/InstallerData:/tmp/install.dir.11225/InstallerData/installer.zip
“/usr/java/j2sdk1.4.1_03/bin/java” -Djava.compiler=NONE -Xmx50331648 -Xms16777216 com.zerog.lax.LAX “/tmp/install.dir.11225/temp.lax” “/tmp/env.properties.11225”========= Executing JAVA =============================================
LAX Version = 5.5
FileEncoding::initialize()- platform default encoding: ANSI_X3.4-1968
FileEncoding::initialize()- using encoding: ANSI_X3.4-1968
seaFilename = EnterpriseWorkbenchInstaller_030702
Default properties location = /ragnar1/keepers/MyEclipse/
UI Mode set to Default – SWING.
____________________________________________________________________________________________________________________________________________________
InstallAnywhere 5.5.1 Enterprise
__________________________________________________________________________Fri Apr 23 15:35:12 MST 2004
Free memory = 14560 kB
Total memory = 16320 kBNo arguments.
java.class.path:
/tmp/install.dir.11225/InstallerData
/tmp/install.dir.11225/InstallerData/installer.zipZGUtil.CLASS_PATH:
/tmp/install.dir.11225/InstallerData
/tmp/install.dir.11225/InstallerData/installer.zipsun.boot.class.path:
/usr/java/j2sdk1.4.1_03/jre/lib/rt.jar
/usr/java/j2sdk1.4.1_03/jre/lib/i18n.jar
/usr/java/j2sdk1.4.1_03/jre/lib/sunrsasign.jar
/usr/java/j2sdk1.4.1_03/jre/lib/jsse.jar
/usr/java/j2sdk1.4.1_03/jre/lib/jce.jar
/usr/java/j2sdk1.4.1_03/jre/lib/charsets.jar
/usr/java/j2sdk1.4.1_03/jre/classesjava.ext.dirs:
/usr/java/j2sdk1.4.1_03/jre/lib/extjava.version == 1.4.1_03 (Java 2+)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.4.1_03-b02
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.4
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 48.0
java.compiler == null
java.home == /usr/java/j2sdk1.4.1_03/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == i386
os.version == 2.4.20-8
path.separator == :
file.separator == /
file.encoding == ANSI_X3.4-1968
user.name == ejn
user.home == /home/ejn
user.dir == /tmp/install.dir.11225
user.language == en
user.region == null
__________________________________________________________________________Installer: InstallAnywhere 5.5.1 Enterprise Build 2032
__________________________________________________________________________System’s temporary directory = /tmp
RepositoryManager: Trying fallback repository location…
RepositoryManager: lock acquired on: /home/ejn/.com.zerog.registry.lock
finding a more suitable font for Redhat 9
checking: dialog = lucidasans
checking: dialog = lucidabright
checking: sansserif = sansserif
Sans Serif Font: SansSerif
RepositoryManager: Local repository location is: /home/ejn/MyEclipse/MyEclipse-UninstallerData/.com.zerog.registry.xml
Retrying Installables deferred in pass 0
Deferral retries done because:
There were no deferrals in the last pass.
RepositoryManager: lock acquired on: /home/ejn/.com.zerog.registry.lock
RepositoryManager: repository successfully written to stable storage
RepositoryManager: lock acquired on: /home/ejn/MyEclipse/MyEclipse-UninstallerData/.com.zerog.registry.lock
RepositoryManager: repository successfully written to stable storage
MAKING VIRTUAL PACKAGE: rpmbuild -ba /home/ejn/MyEclipse/MyEclipse.spec
+ echo
cbe-ERR: + rpmbuild -ba /home/ejn/MyEclipse/MyEclipse.spec
cbe-ERR: error: Could not open /usr/src/redhat/RPMS/i386/MyEclipse-3.0M4_EA2-3.0M4_EA2.i386.rpm: Permission denied
cbe-ERR: Could not open /usr/src/redhat/RPMS/i386/MyEclipse-3.0M4_EA2-3.0M4_EA2.i386.rpm: Permission denied
cbe-ERR: + r=1
cbe-ERR: + echo 1
cbe-ERR: + exit 1
cbe-ERR: There was a problem creating the RPM package. You may not be running as root or may not have installed RPM Builder correctly. error: java.io.IOException: CertifiedBourneExec.doExec(): java.io.IOException: Execution failed with non-zero exit value: rpmbuild
RPM Error: java.lang.NullPointerException
UPDATING RPM DATABASE: rpm -Uv –replacefiles –nodeps
The script exited with an error: 1REGISTRY ALREADY STORED!
cleanUp()
calling cleanUpUNIX()
========= JAVA Finished ==============================================Removing tmp install dir: “/tmp/install.dir.11225”
Riyad KallaMemberI would suggest that you download the manual install. These and other problems with the installer that are related to the software itself are some of the most compelling reasons for us to release the manual install. Its not as intimidating as it sounds, its really just a two step process (although the instructions included are very detailed).
1) Unzip it someplace like C:\MyEclipse\3.7.2
2) Create a <eclipse install>\links\com.genuitec.eclipse.MyEclipse.link fileAnd that’s it, restart Eclipse and it should prompt you to finish installing MyEclipse.
Scott AndersonParticipantBy the way, full instructions on how to perform the manual install are contained within the zip in html format.
Edward J. NewtonMemberThanks Riyad and Scott.
Scott AndersonParticipantNo problem. Sorry you experienced an issue. Please let us know if you need anything else.
-
AuthorPosts