Steps 1:
locate javac
Steps 2:
Take the javac path and change to java rather in javac at last word
> open eclipse.ini and paste under -vm like below
/usr/lib/jvm/java-18-openjdk-amd64/bin/java
Steps 1:
Steps 2:
Take the javac path and change to java rather in javac at last word
> open eclipse.ini and paste under -vm like below
1. If terminal is not opening,
Go and update the eclipse from Help->MarketPlace.
2. See whether you installed boto3 and awscli from sudo or root and now you login as same user or different,
if different, then uninstall the above two plugin and install with the current user.
pip/pip3 install boto3
pip/pip3 install awscli
3.type aws configure
Enter Key, access scret, region
4. type vi ~/.aws/credentials
[default]
aws_access_key_id = xxx
aws_secret_access_key = xx+xx
[vijay]
aws_access_key_id = x
aws_secret_access_key = x+xx
import datetimeimport osimport smtplib, sslimport boto3botSession=boto3.session.Session(profile_name="vijay")iam_mag_con=botSession.client(service_name="ec2",region_name='us-east-2')resp = iam_mag_con.describe_regions()
.......
Add PHP
1. Window->Preferences->Installed PHPs-> Add
/usr/bin/<search php> select /usr/bin/php7.4.x
2. Check "Window->Preferences->Installed PHPs" checkbox "Use system default php.ini configuration" must be enabled. And I had to setup "apt install php-json" on my Ubuntu.
3. Enable Debug
Open Terminal -> sudo apt-get install php-xdebug
4. Check "Window->Preferences->Installed PHPs" ->Debuger -> XDebug [from dropdown]
Enjoy
usr/share/applications/filename.desktop extension#> chmod a+x ~/.local/share/applications/.desktop



pom.xml and add this plugin tag<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins></build> |
ant install.demo2# Option: If you want to install the component step by step you will understand better the role of every single component of jBPM 5. Here's how to do it:
# the home of your eclipse installation will be # used to deploy the Eclipse plugin to eclipse.home=C:\\eclipseOk, now we will install the jBPM Eclipse plugin with the following ant command:
ant install.droolsjbpm-eclipse.into.eclipseAnd then we will install the jBPM runtime:
ant install.jBPM.runtime
01.public class ProcessMain {02. 03.public static final void main(String[] args) throws Exception {04.// load up the knowledge base05.KnowledgeBase kbase = readKnowledgeBase();06.StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();07. 08.Map params = new HashMap(); 09. 10.params.put("name", "Arthur");11. 12.// start a new process instance13.ksession.startProcess("com.sample.bpmn.hello",params);14.}15. 16.private static KnowledgeBase readKnowledgeBase() throws Exception {17.KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();18.kbuilder.add(ResourceFactory.newClassPathResource("sample.bpmn"), ResourceType.BPMN2);19.return kbuilder.newKnowledgeBase();20.}21. 22.}